Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsZipPath ¶
IsZipPath returns true if the path includes the zip separator byte, indicating it is within a zip file.
func ZipFilePath ¶
func ZipFilename ¶
func ZipPathDisplayName ¶
ZipPathDisplayName converts an zip path for display. It translates the zip file separator character into '/', since this character is also used for path separators within zip files. It returns the original provided path if it does not contain the zip file separator character.
Types ¶
type Scanned ¶
func (Scanned) ContentsChanged ¶
ContentsChanged returns true if both old and new files are present and the file content is different.
func (Scanned) FileUpdated ¶
FileUpdated returns true if both old and new files are present and not equal.
type Scanner ¶
func (Scanner) ScanExisting ¶
func (o Scanner) ScanExisting(existing FileBased, file SourceFile) (h *Scanned, err error)
type SourceFile ¶
Click to show internal directories.
Click to hide internal directories.