Versions in this module Expand all Collapse all v2 v2.17.2 Sep 3, 2021 Changes in this version + func IsNamedPipe(mode os.FileMode) bool + func IsSymlink(mode os.FileMode) bool + type FileInfo struct + Checksums map[string]string + Content string + Extension string + Fs afero.Fs + IsDir bool + IsSymlink bool + ModTime time.Time + Mode os.FileMode + Name string + Path string + Size int64 + Subtitles []string + Token string + Type string + func NewFileInfo(opts FileOptions) (*FileInfo, error) + func (i *FileInfo) Checksum(algo string) error + type FileOptions struct + Checker rules.Checker + Content bool + Expand bool + Fs afero.Fs + Modify bool + Path string + ReadHeader bool + Token string + type Listing struct + Items []*FileInfo + NumDirs int + NumFiles int + Sorting Sorting + func (l Listing) ApplySort() + type Sorting struct + Asc bool + By string