Documentation ¶
Index ¶
- func NewFs(gh *github.Client, owner string) afero.Fs
- func Open(ctx context.Context, gh *github.Client, path ghpath.Path) (afero.File, error)
- func Readdir(ctx context.Context, gh *github.Client, user string, count int) ([]fs.FileInfo, error)
- func Readdirnames(ctx context.Context, gh *github.Client, user string, n int) ([]string, error)
- func Stat(ctx context.Context, gh *github.Client, path ghpath.Path) (fs.FileInfo, error)
- type File
- func (f *File) Close() error
- func (f *File) Name() string
- func (f *File) Read(p []byte) (n int, err error)
- func (f *File) ReadAt(p []byte, off int64) (n int, err error)
- func (f *File) Readdir(count int) ([]fs.FileInfo, error)
- func (f *File) Readdirnames(n int) ([]string, error)
- func (f *File) Seek(offset int64, whence int) (int64, error)
- func (f *File) Stat() (fs.FileInfo, error)
- type FileInfo
- type Fs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Readdirnames ¶
Types ¶
type File ¶
type File struct { internal.ReadOnlyFile ghpath.OwnerPath // contains filtered or unexported fields }
func (*File) Readdirnames ¶
Readdirnames implements afero.File.
Click to show internal directories.
Click to hide internal directories.