Discover Packages
github.com/chrischdi/barista
testing
githubfs
package
Version:
v0.0.0-...-cb77e8e
Opens a new window with list of versions in this module.
Published: Oct 7, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package githubfs provides an afero FS that's backed by github.com.
Useful for testing against master for a repository, especially in cron.
New constructs an instance of GitHubFs.
This is a readonly Fs, and calls to Read/Stat will fetch the file from github,
before returning a readonly view into the newly fetched files.
Fs represents an in-memory filesystem backed by GitHub.
Name returns the name of this FileSystem
Open opens a file, returning it or an error, if any happens.
OpenFile opens a file using the given flags and the given mode.
Stat returns a FileInfo describing the named file, or an error, if any
happens.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.