Using arcpy to determine if FC's are identical

Discussion created by leftieant76 on Feb 10, 2014
Latest reply on Feb 10, 2014 by leftieant76
Is anyone aware of an easy way to use Python to determine if two FC's (or rasters, or tables) are identical?

Context: I am building a script to manage data versioning between a master gdb (private, authoratative data) and another gdb (subset of master data available for public consumption).

I want to iterate through the datasets in the master location and check them against a list of datasets to replicate to the public location.

Rough process will be:

1/ check if on list
2/ if on list, check if exists in public location, if not, copy.
3/ if on list and in public location, check if identical, if not, delete public version and copy in new version.

I will be working with feature classes, rasters and tables at this point.

What I'm looking for is something to return a TRUE or FALSE depending on whether the datasets are identical or not.

Any thoughts? Thank you in advance.