config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package config resolves SyncMyEnv's on-disk locations.

Index

Constants

View Source
const HomeEnv = "SYNCMYENV_HOME"

HomeEnv overrides the vault location (useful for tests and multiple vaults).

Variables

This section is empty.

Functions

func ExpandHome

func ExpandHome(p string) string

ExpandHome turns a leading "~" into the user's home directory.

func Home

func Home() (string, error)

Home returns the SyncMyEnv data directory, default ~/.syncmyenv.

func VaultDB

func VaultDB() (string, error)

VaultDB is the path of the local SQLite vault.

Types

This section is empty.

Jump to

Keyboard shortcuts

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