 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS interface {
	Stat(path string) (os.FileInfo, error)
	Open(path string) (ReadSeekCloser, error)
	ReadDir(path string) ([]os.FileInfo, error)
	Join(elem ...string) string
}
    FS interface represent an abstracted filesystem, so you can use NewRepositoryFromFS from any medium.
type OS ¶
type OS struct{}
    OS is a simple FS implementation for the current host filesystem.
func (*OS) Open ¶
func (o *OS) Open(path string) (ReadSeekCloser, error)
Open returns a ReadSeekCloser for the specified path.
type ReadSeekCloser ¶
type ReadSeekCloser interface {
	io.ReadCloser
	io.Seeker
}
    ReadSeekCloser is a Reader, Seeker and Closer.
 Click to show internal directories. 
   Click to hide internal directories.