package hugofs
import "github.com/gohugoio/hugo/hugofs"
Package hugofs provides the file systems used by Hugo.
Index ¶
Variables ¶
Os points to an Os Afero file system.
Types ¶
type Fs ¶
type Fs struct { // Source is Hugo's source file system. Source afero.Fs // Destination is Hugo's destionation file system. Destination afero.Fs // Os is an OS file system. Os afero.Fs // WorkingDir is a read-only file system // restricted to the project working dir. WorkingDir *afero.BasePathFs }
func NewDefault ¶
NewDefault creates a new Fs with the OS file system as source and destination file systems.
func NewFrom ¶
NewFrom creates a new Fs based on the provided Afero Fs as source and destination file systems. Useful for testing.
func NewMem ¶
NewMem creates a new Fs with the MemMapFs as source and destination file systems. Useful for testing.
Source Files ¶
- Version
- v0.20.5
- Published
- Apr 25, 2017
- Platform
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 30 minutes ago –
Tools for package owners.