Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilesystem ¶
func NewFilesystem() *fsystem
func URIFromPath ¶ added in v0.2.0
Types ¶
type File ¶ added in v0.2.0
type File interface { FileHandler Text() []byte Lines() source.Lines Version() int }
type FileChange ¶ added in v0.2.0
type FileChange interface { Text() string Range() hcl.Range }
type FileChanges ¶ added in v0.2.0
type FileChanges []FileChange
type FileHandler ¶ added in v0.2.0
type FileNotOpenErr ¶
type FileNotOpenErr struct {
FileHandler FileHandler
}
func (*FileNotOpenErr) Error ¶
func (e *FileNotOpenErr) Error() string
type FilePosition ¶ added in v0.2.0
type FilePosition interface { FileHandler Position() hcl.Pos }
type Filesystem ¶
type Filesystem interface { Open(File) error Change(VersionedFileHandler, FileChanges) error Close(FileHandler) error GetFile(FileHandler) (File, error) }
type VersionedFileHandler ¶ added in v0.2.0
type VersionedFileHandler interface { FileHandler Version() int }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.