workspace

package
v0.0.0-...-84c8e1d Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Workspace

type Workspace struct {
	// contains filtered or unexported fields
}

func New

func New(rootPath string) *Workspace

func (*Workspace) Load

func (w *Workspace) Load(relPath string) (*ast.File, error)

func (*Workspace) LoadWithContents

func (w *Workspace) LoadWithContents(relPath string, contents []byte) (*ast.File, error)

func (*Workspace) RequestedFiles

func (w *Workspace) RequestedFiles() []string

Jump to

Keyboard shortcuts

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