Documentation ¶
Index ¶
- type ErrBadStatus
- type FS
- func (g *FS) Chmod(name string, mode fs.FileMode) error
- func (g *FS) Chown(name string, uid, gid int) error
- func (g *FS) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (g *FS) Create(name string) (fs.File, error)
- func (g *FS) Mkdir(name string, perm fs.FileMode) error
- func (g *FS) MkdirAll(path string, perm fs.FileMode) error
- func (g *FS) Open(name string) (fs.File, error)
- func (g *FS) OpenFile(name string, flag int, perm fs.FileMode) (fs.File, error)
- func (g *FS) Remove(name string) error
- func (g *FS) RemoveAll(path string) error
- func (g *FS) Rename(oldname, newname string) error
- func (g *FS) Stat(name string) (fs.FileInfo, error)
- type Tree
- type TreeItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBadStatus ¶
type ErrBadStatus struct {
// contains filtered or unexported fields
}
func (ErrBadStatus) Error ¶
func (e ErrBadStatus) Error() string
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
Given a GitHub repository and access token, this filesystem will use the GitHub API to expose a read-write filesystem of the repository contents. Its root will contain all branches as directories.
Click to show internal directories.
Click to hide internal directories.