package path

import "github.com/intel/goresctrl/pkg/path"

Index

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

Source Files

path.go

Version
v0.8.0 (latest)
Published
Sep 19, 2024
Platform
linux/amd64
Imports
1 packages
Last checked
2 days ago

Tools for package owners.