package local

import "github.com/moby/buildkit/source/local"

Index

Functions

func NewSource

func NewSource(opt Opt) (source.Source, error)

Types

type LocalIdentifier

type LocalIdentifier struct {
	Name               string
	SessionID          string
	IncludePatterns    []string
	ExcludePatterns    []string
	FollowPaths        []string
	SharedKeyHint      string
	Differ             fsutil.DiffType
	MetadataOnly       bool
	MetadataExceptions []string
}

func NewLocalIdentifier

func NewLocalIdentifier(str string) (*LocalIdentifier, error)

func (*LocalIdentifier) Capture

func (id *LocalIdentifier) Capture(c *provenance.Capture, pin string) error

func (*LocalIdentifier) Scheme

func (*LocalIdentifier) Scheme() string

type Opt

type Opt struct {
	CacheAccessor cache.Accessor
}

Source Files

identifier.go source.go

Version
v0.21.1 (latest)
Published
Apr 29, 2025
Platform
js/wasm
Imports
27 packages
Last checked
11 minutes ago

Tools for package owners.