tools

package
v0.1.77 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package tools implements the sub-commands for the artifact CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clean

func Clean() error

Clean cleans the global cache of any artifacts not present in the tree.

func Pull

func Pull(treePath string, all bool) error

Pull ensures all artifacts in the global cache tree are present locally.

func Push

func Push() error

Push pushes any artifacts not present in global cache tree to the underlying store of the cache.

func Remove

func Remove(filePath string) error

Remove removes the given path from the tree and root if present but not from the cache. Use clean --cache to clear out the cache.

func Status

func Status() (*artifact.Status, error)

Status inspects the root and returns a git like status of what is to be added.

Types

This section is empty.

Jump to

Keyboard shortcuts

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