resolve

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Directory

func Directory(dir string, baseDir string, create bool) (resolved string, err error)

Directory returns absolute dir name relative to baseDir, or NewNotFound error.

func File

func File(file string, baseDir string) (resolved string, err error)

File returns absolute file name relative to baseDir, or NewNotFound error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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