Documentation ¶
Index ¶
- type Stat
- type Tree
- func (tree *Tree) ChangeMode(id smb2.FileId, allowWrite bool, allowExecute bool) error
- func (tree *Tree) Close() error
- func (tree *Tree) CloseFile(fp smb2.FileId) error
- func (tree *Tree) CurrentPosition(id smb2.FileId) int64
- func (tree *Tree) Id() uint32
- func (tree *Tree) Mkdir(path string) error
- func (tree *Tree) Name() string
- func (tree *Tree) NameOfFile(fp smb2.FileId) string
- func (tree *Tree) OpenFile(path string, flags int) (smb2.FileId, error)
- func (tree *Tree) Read(id smb2.FileId, p []byte) (n int, err error)
- func (tree *Tree) ReadDir(id smb2.FileId, n int) ([]smb2.Stat, error)
- func (tree *Tree) Remove(path string, recursive bool) error
- func (tree *Tree) Seek(id smb2.FileId, offset int64) error
- func (tree *Tree) StatById(fp smb2.FileId, followLinks bool) (smb2.Stat, error)
- func (tree *Tree) Symlink(oldname, newname string) error
- func (tree *Tree) Sync(fp smb2.FileId) error
- func (tree *Tree) SyncAll() error
- func (tree *Tree) Truncate(id smb2.FileId, size int64) error
- func (tree *Tree) Write(id smb2.FileId, p []byte) (n int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stat ¶
type Stat struct {
// contains filtered or unexported fields
}
func (Stat) IsExecutable ¶
func (Stat) IsReadOnly ¶
Click to show internal directories.
Click to hide internal directories.