Documentation
¶
Index ¶
- Constants
- Variables
- func GetVolumes() ([]string, error)
- func IsVolume(path string) bool
- type File
- func (f *File) Atime() time.Time
- func (f *File) Close() (err error)
- func (f *File) Ctime() time.Time
- func (f *File) Dir() string
- func (f *File) EOF() bool
- func (f *File) Err() error
- func (f *File) FileID() uint64
- func (f *File) GID() uint64
- func (f *File) Hash() string
- func (f *File) Hex() string
- func (f *File) IsDir() bool
- func (f *File) IsRegular() bool
- func (f *File) IsSymlink() bool
- func (f *File) Links() uint64
- func (f *File) MarshalJSON() ([]byte, error)
- func (f *File) ModTime() time.Time
- func (f *File) Mode() os.FileMode
- func (f *File) Name() string
- func (f *File) Open() error
- func (f *File) Opened() bool
- func (f *File) Path() string
- func (f *File) Pos() uint64
- func (f *File) Read(n uint64) (err error)
- func (f *File) Reopen() error
- func (f *File) Reset()
- func (f *File) ResetHash()
- func (f *File) Size() uint64
- func (f *File) String() string
- func (f *File) Sum() []byte
- func (f *File) Type() string
- func (f *File) UID() uint64
- func (f *File) UniqueID() string
- func (f *File) VolumeID() uint64
- func (f *File) VolumeName() (volume string, err error)
Constants ¶
View Source
const MinDirLength = 2
MinDirLength @todo
Variables ¶
View Source
var ExcludePaths = []string{
"^/dev$",
"^/proc$",
"^/run$",
"^/sys$",
}
ExcludePaths @todo
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.