Documentation
¶
Index ¶
- type CreateResult
- type FS
- func (fs *FS) Create(name string) (risoros.File, error)
- func (fs *FS) Mkdir(name string, perm risoros.FileMode) error
- func (fs *FS) MkdirAll(path string, perm risoros.FileMode) error
- func (fs *FS) Open(name string) (risoros.File, error)
- func (fs *FS) OpenFile(name string, flag int, perm risoros.FileMode) (risoros.File, error)
- func (fs *FS) ReadDir(name string) ([]risoros.DirEntry, error)
- func (fs *FS) ReadFile(name string) ([]byte, error)
- func (fs *FS) Remove(name string) error
- func (fs *FS) RemoveAll(path string) error
- func (fs *FS) Rename(oldpath, newpath string) error
- func (fs *FS) Stat(name string) (risoros.FileInfo, error)
- func (fs *FS) Symlink(oldname, newname string) error
- func (fs *FS) WalkDir(root string, fn risoros.WalkDirFunc) error
- func (fs *FS) WriteFile(name string, data []byte, perm risoros.FileMode) error
- type MkdirAllResult
- type MkdirResult
- type OpenFileResult
- type OpenResult
- type ReadDirResult
- type ReadFileResult
- type RemoveAllResult
- type RemoveResult
- type RenameResult
- type StatResult
- type SymlinkResult
- type WalkDirResult
- type WriteFileResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateResult ¶
type CreateResult struct {
Name string
}
type MkdirAllResult ¶
type MkdirResult ¶
type OpenResult ¶
type OpenResult struct {
Name string
}
type ReadDirResult ¶
type ReadDirResult struct {
Name string
}
type ReadFileResult ¶
type ReadFileResult struct {
Name string
}
type RemoveAllResult ¶
type RemoveAllResult struct {
Path string
}
type RemoveResult ¶
type RemoveResult struct {
Name string
}
type RenameResult ¶
type StatResult ¶
type StatResult struct {
Name string
}
type SymlinkResult ¶
type WalkDirResult ¶
type WalkDirResult struct {
Root string
Fn risoros.WalkDirFunc
}
Click to show internal directories.
Click to hide internal directories.