fileutil

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListIndexOf

func ListIndexOf(files []string, fn string) int

ListIndexOf gets index of element in list, or -1

func NormalizeToPlaintextFile

func NormalizeToPlaintextFile(fn string) string

NormalizeToPlaintextFile normalizes a filename string to not include the 'sops' tag to represent the plaintext version

func NormalizeToSopsFile

func NormalizeToSopsFile(fn string) string

NormalizeToSopsFile normalizes a filename string to include the 'sops' tag to represent the crypted version

func SomeOrAllFiles

func SomeOrAllFiles(args []string, encFiles []string) ([]string, error)

SomeOrAllFiles gives all or matching files

Types

This section is empty.

Jump to

Keyboard shortcuts

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