dtroot

package
v0.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 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

Overview

Package dtroot resolves the CLI-local data directory (~/datatug), used for CLI-only state and the "clone GitHub projects under here" convention. This is unrelated to and predates ~/.datatug.yaml (datatug-core's dtconfig.Settings) - it used to live as datatug.DirPath/datatug.Dir in datatug-cli's now-removed vendored copy of the model; datatug-core v0.17.0 does not carry it, so it stays here as CLI-only.

Index

Constants

View Source
const Dir = "datatug"

Dir is the directory name under $HOME holding CLI-local state and conventionally-cloned projects (~/datatug/github.com/...).

Variables

This section is empty.

Functions

func Path

func Path() string

Path returns the absolute path to ~/datatug.

Types

This section is empty.

Jump to

Keyboard shortcuts

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