githubfs

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrIsDir = errors.New("Cannot do read operations on non-blobs")

ErrIsDir is returned whenever the caller tries to use a read operation on a directory

View Source
var (
	ErrReadOnly = errors.New("Operation not supported: FS is read-only")
)

write operation are not supported, those are below

Functions

func New

func New(accessToken string, repo string) (afero.Fs, error)

New creates an FS to get files from github on-demand

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL