path

package
v0.0.0-...-f8f5229 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package path returns path-related helper functions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cache

func Cache() string

Cache - Returns $HOME/.dots/cache path

func Dots

func Dots() string

Dots - Returns $DOTS path

func FromCache

func FromCache(path string, args ...interface{}) string

FromCache - Returns path to cache

func FromDots

func FromDots(path string, args ...interface{}) string

FromDots - Returns path relative to $DOTS

func FromHome

func FromHome(path string, args ...interface{}) string

FromHome - Returns path relative to $HOME

func Home

func Home() string

Home - Returns $HOME path

func Pretty

func Pretty(path string) string

Pretty - Pretty prints the input path

Types

This section is empty.

Jump to

Keyboard shortcuts

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