context

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	TargetType TargetType
	TargetPath string
	Tags       map[string]string
}

func GatherContext

func GatherContext(log logger, fs *afero.Afero, targetPath string) (Context, error)

type TargetType

type TargetType string
const (
	TargetTypeFile      TargetType = "file"
	TargetTypeDirectory TargetType = "directory"
)

Jump to

Keyboard shortcuts

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