Documentation ¶
Overview ¶
This package defines basic interfaces to a file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filesystem ¶
type Filesystem struct{}
func New ¶
func New() *Filesystem
func (*Filesystem) GetLineOfCode ¶
func (f *Filesystem) GetLineOfCode(filePath string, line int) (string, error)
GetLineOfCode returns the line of code from file (1-based)
Click to show internal directories.
Click to hide internal directories.