currentarchive

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CurrentArchive

type CurrentArchive struct {
	*filesarchive.Archive

	WorkingSubdirectory string
	RelativePathToRoot  string
	// contains filtered or unexported fields
}

func Open

func Open() (CurrentArchive, error)

func OpenAndUnlockKeyring

func OpenAndUnlockKeyring(
	passwordProvider func() (string, error),
) (CurrentArchive, error)

func OpenLocation

func OpenLocation(wd string) (CurrentArchive, error)

func (*CurrentArchive) Keyring

func (a *CurrentArchive) Keyring() *josesecrets.Keyring

func (*CurrentArchive) Location

func (a *CurrentArchive) Location() string

func (*CurrentArchive) OpenKeyring

func (a *CurrentArchive) OpenKeyring(
	passwordProvider func() (string, error),
) error

func (*CurrentArchive) PrependWorkingDirectoryToPaths

func (a *CurrentArchive) PrependWorkingDirectoryToPaths(relativePaths []string) []string

func (*CurrentArchive) RemotesStore

func (a *CurrentArchive) RemotesStore() *keyringRemotesStore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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