Documentation ¶
Index ¶
- Constants
- func NewImporters(logger *zap.Logger, hosts []config.Host) (map[string]*Importer, error)
- type Importer
- func (l *Importer) ExcludeSymlinkFiles(ctx context.Context, files []string) []string
- func (l *Importer) FileType(ctx context.Context, path string) int
- func (l *Importer) GetFileContent(ctx context.Context, path string) ([]byte, os.FileMode, error)
- func (l *Importer) ListUntrackedFiles(ctx context.Context, path string) ([]string, error)
- type NewImportersFunc
Constants ¶
View Source
const ( IsNotFound = iota IsFile IsDirectory )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Importer ¶
type Importer struct {
// contains filtered or unexported fields
}
func (*Importer) ExcludeSymlinkFiles ¶ added in v0.0.3
func (*Importer) GetFileContent ¶
Click to show internal directories.
Click to hide internal directories.