Documentation
¶
Index ¶
- type Discovery
- type FileSystem
- func (fs *FileSystem) Abs(path string) (string, error)
- func (fs *FileSystem) CurrentDir() (string, error)
- func (fs *FileSystem) EnsureDir(path string) error
- func (fs *FileSystem) Exists(path string) (bool, error)
- func (fs *FileSystem) IsDir(path string) (bool, error)
- func (fs *FileSystem) IsTextFile(path string) (bool, error)
- func (fs *FileSystem) SourceSize(path string, format domain.Format) (string, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct{}
func NewFileSystem ¶
func NewFileSystem() *FileSystem
func (*FileSystem) CurrentDir ¶
func (fs *FileSystem) CurrentDir() (string, error)
func (*FileSystem) EnsureDir ¶
func (fs *FileSystem) EnsureDir(path string) error
func (*FileSystem) IsTextFile ¶
func (fs *FileSystem) IsTextFile(path string) (bool, error)
func (*FileSystem) SourceSize ¶
Click to show internal directories.
Click to hide internal directories.