Documentation
¶
Overview ¶
© Ben Garrett https://github.com/bengarrett/dupers
Index ¶
Constants ¶
View Source
const ( Header = "sha256_sum,path#" WinOS = "windows" BackSlash = "\u005C" FwdSlash = "\u002F" UncPath = BackSlash + BackSlash )
Variables ¶
View Source
var ( ErrChecksumLen = errors.New("hexadecimal value is invalid") ErrFileNoDesc = errors.New("no file descriptor") ErrImportFile = errors.New("not a valid dupers export file") ErrImportPath = errors.New("import item has an invalid file path") ErrImportSyntax = errors.New("import item has incorrect syntax") )
Functions ¶
func Checker ¶
Checker reads the first line in the export csv file and returns nil if it uses the expected syntax.
func PathWindows ¶
PathWindows returns a Windows or UNC usable path from the source path.
Types ¶
Click to show internal directories.
Click to hide internal directories.