Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader struct {
// contains filtered or unexported fields
}
func CreateFileReader ¶
func CreateFileReader(opts *FileReaderOptions) *FileReader
func (*FileReader) FilterFiles ¶
func (fr *FileReader) FilterFiles(paths []string, excludePattern string) ([]string, error)
func (*FileReader) GetFilename ¶
func (fr *FileReader) GetFilename(path string) (string, error)
func (*FileReader) ReadFileContent ¶
func (fr *FileReader) ReadFileContent(filepath string) (string, error)
type FileReaderOptions ¶
type FileReaderOptions struct { ReadFile ReadFileFn Glob GlobFn Stat StatFn Abs AbsFn }
type ReadFileFn ¶
Click to show internal directories.
Click to hide internal directories.