 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- func NewFilesystem(maxBytes, maxFiles int) billy.Filesystem
- type File
- type FileSystem
- func (bfs *FileSystem) Create(filename string) (billy.File, error)
- func (bfs *FileSystem) MkdirAll(filename string, perm os.FileMode) error
- func (bfs *FileSystem) Open(filename string) (billy.File, error)
- func (bfs *FileSystem) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
 
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrExhausted = errors.New("filesystem limit exhausted")
    Functions ¶
func NewFilesystem ¶
func NewFilesystem(maxBytes, maxFiles int) billy.Filesystem
Types ¶
type FileSystem ¶
type FileSystem struct {
	billy.Filesystem
	// contains filtered or unexported fields
}
    func (*FileSystem) Create ¶
func (bfs *FileSystem) Create(filename string) (billy.File, error)
func (*FileSystem) MkdirAll ¶
func (bfs *FileSystem) MkdirAll(filename string, perm os.FileMode) error
func (*FileSystem) Open ¶
func (bfs *FileSystem) Open(filename string) (billy.File, error)
 Click to show internal directories. 
   Click to hide internal directories.