Documentation ¶
Index ¶
- type Comment
- type CommentText
- func (t *CommentText) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (t *CommentText) Open(flags uint32, ctx *fuse.Context) (nodefs.File, fuse.Status)
- func (t *CommentText) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (t *CommentText) ReadDir() ([]Dir, error)
- func (t *CommentText) ReadFile() ([]byte, error)
- func (t *CommentText) Stat() *FileInfo
- type Ctl
- func (ctl *Ctl) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (ctl *Ctl) Open(flags uint32, ctx *fuse.Context) (nodefs.File, fuse.Status)
- func (ctl *Ctl) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (ctl *Ctl) ReadDir() ([]Dir, error)
- func (ctl *Ctl) ReadFile() ([]byte, error)
- func (ctl *Ctl) Stat() *FileInfo
- func (ctl *Ctl) Truncate(file nodefs.File, size uint64, ctx *fuse.Context) fuse.Status
- func (ctl *Ctl) Write(file nodefs.File, data []byte, off int64, ctx *fuse.Context) (uint32, fuse.Status)
- func (ctl *Ctl) WriteFile(p []byte) error
- type Dir
- type FileInfo
- type Node
- type Root
- func (root *Root) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (root *Root) Lookup(out *fuse.Attr, name string, ctx *fuse.Context) (*nodefs.Inode, fuse.Status)
- func (root *Root) MountAndServe(mtpt string, debug bool) error
- func (root *Root) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (root *Root) ReadDir() ([]Dir, error)
- func (*Root) ReadFile() ([]byte, error)
- func (root *Root) RegisterService(kind string, fn func(token, url string) (Service, error))
- func (root *Root) Stat() *FileInfo
- type Service
- type ServiceDir
- func (dir *ServiceDir) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (dir *ServiceDir) Lookup(out *fuse.Attr, name string, ctx *fuse.Context) (*nodefs.Inode, fuse.Status)
- func (dir *ServiceDir) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (dir *ServiceDir) ReadDir() ([]Dir, error)
- func (*ServiceDir) ReadFile() ([]byte, error)
- func (dir *ServiceDir) Stat() *FileInfo
- type Task
- type TaskDir
- func (dir *TaskDir) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (dir *TaskDir) Lookup(out *fuse.Attr, name string, ctx *fuse.Context) (*nodefs.Inode, fuse.Status)
- func (dir *TaskDir) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (dir *TaskDir) ReadDir() ([]Dir, error)
- func (*TaskDir) ReadFile() ([]byte, error)
- func (dir *TaskDir) Stat() *FileInfo
- type Text
- func (t *Text) GetAttr(out *fuse.Attr, file nodefs.File, ctx *fuse.Context) fuse.Status
- func (t *Text) Open(flags uint32, ctx *fuse.Context) (nodefs.File, fuse.Status)
- func (t *Text) OpenDir(ctx *fuse.Context) ([]fuse.DirEntry, fuse.Status)
- func (t *Text) ReadDir() ([]Dir, error)
- func (t *Text) ReadFile() ([]byte, error)
- func (t *Text) Stat() *FileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentText ¶
func NewCommentText ¶
func NewCommentText(c Comment) *CommentText
func (*CommentText) ReadDir ¶
func (t *CommentText) ReadDir() ([]Dir, error)
func (*CommentText) ReadFile ¶
func (t *CommentText) ReadFile() ([]byte, error)
func (*CommentText) Stat ¶
func (t *CommentText) Stat() *FileInfo
type FileInfo ¶
type FileInfo struct { Name string Size int64 Mode os.FileMode Creation time.Time LastMod time.Time }
func (*FileInfo) FillDirEntry ¶
type ServiceDir ¶
func (*ServiceDir) ReadDir ¶
func (dir *ServiceDir) ReadDir() ([]Dir, error)
func (*ServiceDir) ReadFile ¶
func (*ServiceDir) ReadFile() ([]byte, error)
func (*ServiceDir) Stat ¶
func (dir *ServiceDir) Stat() *FileInfo
Click to show internal directories.
Click to hide internal directories.