live

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoFiles = fmt.Errorf("files not found")

Functions

func GetWorkspaceComments

func GetWorkspaceComments(
	commentRepo db_comments.Repository,
	ws *workspace.Workspace,
	executorProvider executor.Provider,
	snapshotRepo db_snapshots.Repository,
) ([]comments.Comment, error)

func WorkspaceFS

func WorkspaceFS(
	executorProvider executor.Provider,
	snapshotsRepo db_snapshots.Repository,
	ws *workspace.Workspace,

	newLines bool,
) (fs.FS, error)

Types

type SnapshotsFS

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

func (*SnapshotsFS) Open

func (snapshotsFS *SnapshotsFS) Open(path string) (fs.File, error)

type ViewFS

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

func (*ViewFS) Open

func (viewFS *ViewFS) Open(path string) (fs.File, error)

Jump to

Keyboard shortcuts

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