Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreFilesUnique ¶
AreFilesUnique returns whether each of the given files are unique.
func GetDivergentFiles ¶
func GetDivergentFiles(referenceFile string, files iter.Seq[string]) (iter.Seq2[string, error], error)
GetDivergentFiles returns a subset of the given files with underlying unique IDs that diverge from the given reference file's unique ID.
NOTE: We don't use os.SameFile(...) here because we only want to check if a file's underlying ID has changed.
Types ¶
Click to show internal directories.
Click to hide internal directories.