local

package
v0.0.0-...-e3efe30 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extra

func Extra(homePath string, permittedPrefixes []string) repository.Extra

func NewRepository

func NewRepository(config *provisioning.Repository, resolver *LocalFolderResolver) *localRepository

Types

type InvalidLocalFolderError

type InvalidLocalFolderError struct {
	Path           string
	AdditionalInfo string
}

func (*InvalidLocalFolderError) Error

func (e *InvalidLocalFolderError) Error() string

func (*InvalidLocalFolderError) Status

type LocalFolderResolver

type LocalFolderResolver struct {
	PermittedPrefixes []string
	HomePath          string
}

func (*LocalFolderResolver) LocalPath

func (r *LocalFolderResolver) LocalPath(p string) (string, error)

Jump to

Keyboard shortcuts

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