filesystem

package
v0.0.0-...-df5614f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL