dotdir

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dotdir manages the .tapes/ and ~/.tapes directories that hold local configuration, credentials, and other tapes state.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct{}

func NewManager

func NewManager() *Manager

func (*Manager) Target

func (m *Manager) Target(overrideDir string) (string, error)

Target returns the target absolute path to a .tapes/ directory. Order of precedence is as follows:

  1. Provided override
  2. Local ./.tapes/ dir
  3. Home ~/.tapes/ dir
  4. If none found, returns "", nil (i.e., the empty state)

Jump to

Keyboard shortcuts

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