entity

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PathSpec

type PathSpec struct {
	*Paths
	*fsEntity.BaseFs

	// The file systems to use
	Fs fs.Fs

	// The config provider to use
	Cfg config.Provider
}

PathSpec holds methods that decides how paths in URLs and files in Hugo should look like.

func (*PathSpec) ContentFs

func (ps *PathSpec) ContentFs() afero.Fs

func (*PathSpec) LayoutFs

func (ps *PathSpec) LayoutFs() afero.Fs

func (*PathSpec) PublishFs

func (ps *PathSpec) PublishFs() afero.Fs

type Paths

type Paths struct {
	Fs         fs.Fs
	AllModules config.Modules
	WorkingDir string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL