Documentation ¶
Overview ¶
Package hugofs provides the file systems used by Hugo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Os = &afero.OsFs{}
Os points to an Os Afero file system.
Functions ¶
This section is empty.
Types ¶
type Fs ¶ added in v0.20.1
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 ¶ added in v0.20.1
NewDefault creates a new Fs with the OS file system as source and destination file systems.
Click to show internal directories.
Click to hide internal directories.