Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { URI URI // contains filtered or unexported fields }
File holds all the information we know about a file.
func (*File) SetContent ¶
SetContent sets the overlay contents for a file. Setting it to nil will revert it to the on disk contents, and remove it from the active set.
type Range ¶
Range represents a start and end position. Because Range is based purely on two token.Pos entries, it is not self contained. You need access to a token.FileSet to regain the file information.
type URI ¶
type URI string
URI represents the full uri for a file.
Click to show internal directories.
Click to hide internal directories.