path

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path

func Path(elems ...string) string

Path returns a path to a file, prefixed with the global prefix.

func SetPrefix

func SetPrefix(p string)

SetPrefix sets the global path prefix to use for all system files.

Types

type RootDir

type RootDir string

RootDir is a helper for handling system directory paths

func (RootDir) Path

func (d RootDir) Path(elems ...string) string

Path returns a full path to a file under RootDir

Jump to

Keyboard shortcuts

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