local

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndexFileName = ".lakefs_ref.yaml"
	IgnoreMarker  = "ignored by lakectl local:"
	IndexFileMode = 0644
)

Variables

This section is empty.

Functions

func FindIndices

func FindIndices(root string) ([]string, error)

func IndexExists

func IndexExists(baseAbs string) (bool, error)

func WriteIndex

func WriteIndex(path string, remote *uri.URI, atHead string) error

Types

type Index

type Index struct {
	PathURI string `yaml:"src"`
	AtHead  string `yaml:"at_head"`
	// contains filtered or unexported fields
}

Index defines the structure of the lakefs local reference file consisting of the information linking local directory with lakefs path

func ReadIndex

func ReadIndex(path string) (*Index, error)

func (*Index) GetCurrentURI

func (l *Index) GetCurrentURI() (*uri.URI, error)

func (*Index) LocalPath

func (l *Index) LocalPath() string

Jump to

Keyboard shortcuts

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