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 ¶ added in v0.0.3
func (*App) ApplyOptions ¶ added in v0.0.5
type FileEntry ¶ added in v0.0.2
type FileEntry struct { Path string `json:"-"` Empty bool `json:"empty"` Mode fs.FileMode `json:"mode"` ModTime time.Time `json:"mod_time"` IsFetched bool `json:"-"` // contains filtered or unexported fields }
func NewFileEntry ¶ added in v0.0.2
func (*FileEntry) GetContent ¶ added in v0.0.2
func (*FileEntry) MarshalJSON ¶ added in v0.0.2
MarshalJSON implements json.Marshaler interface.
func (*FileEntry) UnmarshalJSON ¶ added in v0.0.2
UnmarshalJSON implements json.Unmarshaler interface.
type FileEntryCache ¶ added in v0.0.4
type FileEntryCache struct {
// contains filtered or unexported fields
}
func (*FileEntryCache) Get ¶ added in v0.0.4
func (c *FileEntryCache) Get(path string) (*FileEntry, error)
func (*FileEntryCache) GetSum ¶ added in v0.0.4
func (c *FileEntryCache) GetSum(path string) ([]byte, error)
func (*FileEntryCache) Reload ¶ added in v0.0.4
func (c *FileEntryCache) Reload(path string) (*FileEntry, error)
func (*FileEntryCache) Set ¶ added in v0.0.4
func (c *FileEntryCache) Set(path string, f *FileEntry)
type Option ¶ added in v0.0.3
func WithConfig ¶
func WithConfigLoader ¶ added in v0.0.3
func WithConfigLoader(opts ...config.ConfigOption) Option
type PathMapper ¶ added in v0.0.2
type PathMapper struct { Mapping []PathMapping // contains filtered or unexported fields }
func NewPathMapper ¶ added in v0.0.2
func NewPathMapper(s, d string, funcs ...PathMapperOption) (*PathMapper, error)
func (*PathMapper) RelSourcePaths ¶ added in v0.0.2
func (m *PathMapper) RelSourcePaths() []string
type PathMapperOption ¶ added in v0.0.4
type PathMapperOption func(m *PathMapper)
func WithExcludes ¶
func WithExcludes(s ...string) PathMapperOption
type PathMapping ¶ added in v0.0.2
Source Files ¶
Click to show internal directories.
Click to hide internal directories.