Documentation
¶
Index ¶
- func CanonicalPath(p string, followSymlinks bool) (string, error)
- func FastHash(path string) (string, int64, int64, error)
- func FileTimes(path string) (int64, int64, error)
- func IsDir(path string) bool
- func IsRegular(path string) bool
- func NowSec() int64
- func SigString(s FileSig) string
- type FileSig
- type Ignore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalPath ¶
CanonicalPath resolves to an absolute path. If followSymlinks is true, attempts to resolve symlinks.
Types ¶
type Ignore ¶
type Ignore struct {
// contains filtered or unexported fields
}
Simple ignore matcher with defaults + optional .compairignore globs.
func DefaultIgnore ¶
func DefaultIgnore() *Ignore
func LoadIgnore ¶
Click to show internal directories.
Click to hide internal directories.