Index
Modules:
nimvault
,
nimvault/cli
,
nimvault/commands
,
nimvault/gpg
,
nimvault/manifest
.
API symbols
add:
commands: proc add(repo, path: string; cfg: GpgConfig)
expandHome:
manifest: proc expandHome(p: string): string
genId:
manifest: proc genId(): string
GpgConfig:
gpg: object GpgConfig
gpgDecrypt:
gpg: proc gpgDecrypt(inPath, outPath: string)
gpgDecryptToString:
gpg: proc gpgDecryptToString(inPath: string): string
gpgEncrypt:
gpg: proc gpgEncrypt(cfg: GpgConfig; inPath, outPath: string)
initGpgConfig:
gpg: proc initGpgConfig(cliRecipient: string; repo: string): GpgConfig
list:
commands: proc list(repo: string; cfg: GpgConfig)
loadManifest:
manifest: proc loadManifest(repo: string): seq[VaultEntry]
main:
cli: proc main()
move:
commands: proc move(repo, oldPath, newPath: string; cfg: GpgConfig)
remove:
commands: proc remove(repo, path: string; cfg: GpgConfig)
resolveRecipient:
gpg: proc resolveRecipient(cli, env, configFile: string): string
saveManifest:
manifest: proc saveManifest(repo: string; entries: seq[VaultEntry]; cfg: GpgConfig)
seal:
commands: proc seal(repo: string; cfg: GpgConfig)
sha256sum:
gpg: proc sha256sum(path: string): string
status:
commands: proc status(repo: string; cfg: GpgConfig)
unseal:
commands: proc unseal(repo: string; cfg: GpgConfig)
vaultDir:
manifest: proc vaultDir(repo: string): string
VaultEntry:
manifest: tuple VaultEntry