path

package
v4.0.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDatasource

func WithDatasource() nodes.Option

func WithMultipleRoots

func WithMultipleRoots() nodes.Option

func WithRootResolver

func WithRootResolver() nodes.Option

func WithWorkspace

func WithWorkspace() nodes.Option

Types

type DataSourceHandler

type DataSourceHandler struct {
	abstract.BranchFilter
}

DataSourceHandler is an BranchFilter adding/extracting datasource name from the path.

func (*DataSourceHandler) Adapt

type MultipleRootsHandler

type MultipleRootsHandler struct {
	abstract.BranchFilter
}

MultipleRootsHandler handle special case of multiple-roots workspaces.

func NewPathMultipleRootsHandler

func NewPathMultipleRootsHandler() *MultipleRootsHandler

func (*MultipleRootsHandler) Adapt

func (*MultipleRootsHandler) ListNodes

func (*MultipleRootsHandler) ReadNode

type WorkspaceHandler

type WorkspaceHandler struct {
	abstract.BranchFilter
}

WorkspaceHandler is an BranchFilter extracting workspace and managing path inside the workspace.

func (*WorkspaceHandler) Adapt

func (*WorkspaceHandler) ListNodes

func (*WorkspaceHandler) ReadNode

type WorkspaceRootResolver

type WorkspaceRootResolver struct {
	abstract.BranchFilter
}

WorkspaceRootResolver is an BranchFilter finding workspace root(s) based on the path.

func NewWorkspaceRootResolver

func NewWorkspaceRootResolver() *WorkspaceRootResolver

func (*WorkspaceRootResolver) Adapt

Jump to

Keyboard shortcuts

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