dirs

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Overview

Package dirs provides functions sanitize directory names.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnEscape

func UnEscape(input string) string

func UnExpand

func UnExpand(dir, workdir string) (outdir string)

UnExpand returns dir after expanding some directory shortcuts

$HOME -> ~

$PWD -> .

workdir -> /

Types

This section is empty.

Jump to

Keyboard shortcuts

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