Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersion ¶
func GetVersion() string
func SetVersion ¶
func SetVersion(v string)
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) AddOptions ¶
func (*App) ApplyOptions ¶
type Entry ¶
type Entry struct { Path string `json:"-"` Empty bool `json:"empty"` Mode fs.FileMode `json:"mode"` ModTime time.Time `json:"mod_time"` // contains filtered or unexported fields }
func (*Entry) GetContent ¶
func (*Entry) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Entry) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
type EntryCache ¶
type EntryCache struct {
// contains filtered or unexported fields
}
func (*EntryCache) Set ¶
func (c *EntryCache) Set(path string, f *Entry)
type Option ¶
func WithConfig ¶
func WithConfigLoader ¶
func WithConfigLoader(opts ...config.ConfigOption) Option
type PathMapper ¶
type PathMapper struct { Mapping []PathMapping // contains filtered or unexported fields }
func NewPathMapper ¶
func NewPathMapper(s, d string, funcs ...PathMapperOption) (*PathMapper, error)
func (*PathMapper) RelSourcePaths ¶
func (m *PathMapper) RelSourcePaths() []string
type PathMapperOption ¶
type PathMapperOption func(m *PathMapper)
func WithExcludes ¶
func WithExcludes(s ...string) PathMapperOption
type PathMapping ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.