filestatus

package
v3.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	InputStore sops.Store
	InputPath  string
}

Opts represent the input options for FileStatus

type Status

type Status struct {
	// Encrypted represents whether the file provided is encrypted by SOPS
	Encrypted bool `json:"encrypted"`
}

Status represents the status of a file

func FileStatus

func FileStatus(opts Opts) (Status, error)

FileStatus checks encryption status of a file

Jump to

Keyboard shortcuts

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