directory

package
v0.0.0-...-8693642 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Datasource

func Datasource() (string, error)

Datasource returns the path of the datasource specification subdirectory. Returned path does not include a trailing separator.

func DatasourceWithSep

func DatasourceWithSep() (string, error)

DatasourceWithSep returns the path of the datasource specification directory. Returned path includes a trailing separator.

func EnsureDatasourceExists

func EnsureDatasourceExists() error

EnsureDatasourceExists creates the datasource directory, and parent specification directory, if they do not exist.

func EnsureSpecExists

func EnsureSpecExists() error

EnsureSpecExists creates the specification directory if it does not exist.

func Exe

func Exe() (string, error)

Exe returns the path of the directory the executable is within. Returned path does not include a trailing separator.

func ExeWithSep

func ExeWithSep() (string, error)

ExeWithSep returns the path of the directory the executable is within. Returned path includes a trailing separator.

func RemoveSpec

func RemoveSpec() error

RemoveSpec removes the specification directory.

func Spec

func Spec() (string, error)

Spec returns the path of the specification directory. Returned path does not include a trailing separator.

func SpecWithSep

func SpecWithSep() (string, error)

SpecWithSep returns the path of the specification directory. Returned path includes a trailing separator.

Types

This section is empty.

Jump to

Keyboard shortcuts

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