Versions in this module Expand all Collapse all v1 v1.0.0 Jan 10, 2019 Changes in this version + const DefaultModePermFilter + const DefaultModeTypeFilter + const DefaultRegExpFilter + const ExecutableModePermFilter + const ExecutableModeTypeFilter + const ModeAppend + const ModeCharDevice + const ModeDevice + const ModeDir + const ModeExclusive + const ModeNamedPipe + const ModePerm + const ModeRegular + const ModeSetgid + const ModeSetuid + const ModeSocket + const ModeSticky + const ModeSymlink + const ModeTemporary + const ModeType + type Config struct + ModePermFilter FileMode + ModeTypeFilter FileMode + RegExpFilter *regexp.Regexp + Reverse bool + func NewConfig(reverse bool, modeTypeFilter FileMode, modePermFilter FileMode, ...) (*Config, error) + func NewDefaultConfig() *Config + type FileInfo struct + func (i FileInfo) Mode() FileMode + type FileMode os.FileMode + func LstatMode(name string) (FileMode, error) + func StatMode(name string) (FileMode, error) + func (m FileMode) IsDir() bool + func (m FileMode) IsExecutable() bool + func (m FileMode) IsRegular() bool + func (m FileMode) Perm() FileMode + func (m FileMode) String() string + type Parts struct + Config *Config + Paths []string + func NewParts(paths []string, config *Config) *Parts + func (p *Parts) Close() error + func (p *Parts) Read(b []byte) (int, error) + func (p *Parts) Readdirnames(n int) ([]string, error) + type Partser interface + Close func() error + Read func([]byte) (int, error) + Readdirnames func(int) ([]string, error)