574862fd89
Add diff comparison with support for double walking two trees for comparison or single walking a diff tree. Single walking requires further implementation for specific mount types. Add directory copy function which is intended to provide fastest possible local copy of file system directories without hardlinking. Add test package to make creating filesystems for test easy and comparisons deep and informative. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
15 lines
312 B
Go
15 lines
312 B
Go
package fs
|
|
|
|
func detectDirDiff(upper, lower string) *diffDirOptions {
|
|
return nil
|
|
}
|
|
|
|
func compareSysStat(s1, s2 interface{}) (bool, error) {
|
|
// TODO: Use windows specific sys type
|
|
return false, nil
|
|
}
|
|
|
|
func compareCapabilities(p1, p2 string) (bool, error) {
|
|
// TODO: Use windows equivalent
|
|
return true, nil
|
|
}
|