crypt

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MAX_PARENTS_UP = 4

Variables

This section is empty.

Functions

func AddGpgUser

func AddGpgUser(userId string)

func ExportKey

func ExportKey(outputPath string)

func GetGitAttributesContentForTesting

func GetGitAttributesContentForTesting() string

func GitCryptIsInitialized

func GitCryptIsInitialized(dotfilesDir AbsolutePath) bool

func GitCryptIsInstalled

func GitCryptIsInstalled() bool

func Init

func Init()

func Lock

func Lock(force bool)

func Unlock

func Unlock(keyFile optional.Optional[string])

func UnlockOrErr

func UnlockOrErr(dotfilesDir AbsolutePath, keyFile optional.Optional[string]) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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