fileutil

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fileutil provides utility functions around files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(path string) (string, error)

Expand expands the path.

func Fetch

func Fetch(path, pwd, cacheDir string) (string, error)

Fetch handles fetching remote paths. If the path is local then it will simply expand it and return. Remote paths are fetched to the cache dir. Relative paths are handled from pwd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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