Versions in this module Expand all Collapse all v0 v0.18.1 Dec 29, 2016 Changes in this version + type ByteSource struct + Content []byte + Name string + func (b *ByteSource) String() string + type File struct + Contents io.Reader + func NewFile(relpath string) *File + func NewFileFromAbs(base, fullpath string, content io.Reader) (f *File, err error) + func NewFileWithContents(relpath string, content io.Reader) *File + func (f *File) BaseFileName() string + func (f *File) Bytes() []byte + func (f *File) Dir() string + func (f *File) Ext() string + func (f *File) Extension() string + func (f *File) Lang() string + func (f *File) LogicalName() string + func (f *File) Path() string + func (f *File) Section() string + func (f *File) SetDir(dir string) + func (f *File) String() string + func (f *File) TranslationBaseName() string + func (f *File) UniqueID() string + type Filesystem struct + AvoidPaths []string + Base string + func (f *Filesystem) Files() []*File + func (f *Filesystem) FilesByExts(exts ...string) []*File + type InMemorySource struct + ByteSource []ByteSource + func (i *InMemorySource) Files() (files []*File) + type Input interface + Files func() []*File + type LazyFileReader struct + func NewLazyFileReader(fs afero.Fs, filename string) (*LazyFileReader, error) + func (l *LazyFileReader) Filename() string + func (l *LazyFileReader) Read(p []byte) (n int, err error) + func (l *LazyFileReader) Seek(offset int64, whence int) (pos int64, err error) + func (l *LazyFileReader) WriteTo(w io.Writer) (n int64, err error)