Documentation ¶
Overview ¶
Package hugofs provides the file systems used by Hugo.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDefaultFs ¶
func InitDefaultFs()
InitDefaultFs initializes with the OS file system as source and destination file systems.
func InitMemFs ¶
func InitMemFs()
InitMemFs initializes with a MemMapFs as source and destination file systems. Useful for testing.
func SetDestination ¶
SetDestination sets Hugo's destionation file system
func SetSource ¶
SetSource sets Hugo's source file system and re-initializes dependent file systems.
func WorkingDir ¶
func WorkingDir() *afero.BasePathFs
WorkingDir returns a read-only file system restricted to the project working dir.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.