Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilepathSeparator = string(filepath.Separator)
Functions ¶
This section is empty.
Types ¶
type FilesystemUnwrapper ¶
FilesystemUnwrapper returns the underlying filesystem.
type OriginFs ¶
type OriginFs interface { // Origin is Hugo's source file system. // Note that this will always be a "plain" Afero filesystem: // * afero.OsFs when running in production // * afero.MemMapFs for many of the tests. Origin() afero.Fs // Publish is where Hugo publishes its rendered content. // It's mounted inside publishDir (default /public). Publish() afero.Fs // Working is a read-only file system // restricted to the project working dir. Working() afero.Fs }
OriginFs holds the core filesystems used by Hugo.
Click to show internal directories.
Click to hide internal directories.