Versions in this module Expand all Collapse all v0 v0.0.1 Nov 5, 2023 Changes in this version + type File interface + type FileInfo struct + func NewTestFile(filename string) *FileInfo + func (fi *FileInfo) BaseFileName() string + func (fi *FileInfo) ContentBaseName() string + func (fi *FileInfo) Dir() string + func (fi *FileInfo) Ext() string + func (fi *FileInfo) Extension() string + func (fi *FileInfo) FileInfo() hugofs.FileMetaInfo + func (fi *FileInfo) Filename() string + func (fi *FileInfo) IsZero() bool + func (fi *FileInfo) Lang() string + func (fi *FileInfo) LogicalName() string + func (fi *FileInfo) Open() (hugio.ReadSeekCloser, error) + func (fi *FileInfo) Path() string + func (fi *FileInfo) Section() string + func (fi *FileInfo) String() string + func (fi *FileInfo) TranslationBaseName() string + func (fi *FileInfo) UniqueID() string + type FileWithoutOverlap interface + BaseFileName func() string + ContentBaseName func() string + Dir func() string + Ext func() string + Extension func() string + FileInfo func() hugofs.FileMetaInfo + Filename func() string + LogicalName func() string + TranslationBaseName func() string + UniqueID func() string + type Filesystem struct + Base string + func (f *Filesystem) Files() ([]File, error) + type GitInfo struct + AbbreviatedHash string + AuthorDate time.Time + AuthorEmail string + AuthorName string + CommitDate time.Time + Hash string + Subject string + func NewGitInfo(info gitmap.GitInfo) GitInfo + func (g GitInfo) IsZero() bool + type SourceSpec struct + SourceFs afero.Fs + func NewSourceSpec(ps *helpers.PathSpec, inclusionFilter *glob.FilenameFilter, fs afero.Fs) *SourceSpec + func (s *SourceSpec) IgnoreFile(filename string) bool + func (s *SourceSpec) IsRegularSourceFile(filename string) (bool, error) + func (sp *SourceSpec) NewFileInfo(fi hugofs.FileMetaInfo) (*FileInfo, error) + func (sp *SourceSpec) NewFileInfoFrom(path, filename string) (*FileInfo, error) + func (sp SourceSpec) NewFilesystem(base string) *Filesystem + func (sp SourceSpec) NewFilesystemFromFileMetaInfo(fi hugofs.FileMetaInfo) *Filesystem