Documentation
¶
Index ¶
- type FileSystem
- func (f FileSystem) Exists(path string) (exists bool)
- func (f FileSystem) FileCreated(_ string) (created int64, err error)
- func (f FileSystem) LastModified(_ string) (modTime int64, err error)
- func (f FileSystem) ListAllDirs(path string) (paths []string, err error)
- func (f FileSystem) ListAllFiles(path string) (paths []string, err error)
- func (f FileSystem) ListDirs(path string) (paths []string, err error)
- func (f FileSystem) ListFiles(path string) (paths []string, err error)
- func (f FileSystem) MimeType(path string) (mime string, err error)
- func (f FileSystem) Name() (name string)
- func (f FileSystem) Open(path string) (file fs.File, err error)
- func (f FileSystem) ReadDir(path string) (paths []fs.DirEntry, err error)
- func (f FileSystem) ReadFile(path string) (content []byte, err error)
- func (f FileSystem) Shasum(path string) (shasum string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func (FileSystem) Exists ¶
func (f FileSystem) Exists(path string) (exists bool)
func (FileSystem) FileCreated ¶
func (f FileSystem) FileCreated(_ string) (created int64, err error)
func (FileSystem) LastModified ¶
func (f FileSystem) LastModified(_ string) (modTime int64, err error)
func (FileSystem) ListAllDirs ¶
func (f FileSystem) ListAllDirs(path string) (paths []string, err error)
func (FileSystem) ListAllFiles ¶
func (f FileSystem) ListAllFiles(path string) (paths []string, err error)
func (FileSystem) ListFiles ¶
func (f FileSystem) ListFiles(path string) (paths []string, err error)
func (FileSystem) Name ¶
func (f FileSystem) Name() (name string)
Click to show internal directories.
Click to hide internal directories.