dir

package
v0.14.0-beta.7 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package dir provides functions to manage the $HOME/.sourced and /tmp/srcd directories

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadURL

func DownloadURL(url, dst string) error

DownloadURL downloads the given url to a file to the dst path, creating the directory if it's needed

func Path

func Path() (string, error)

Path returns the absolute path for $HOME/.sourced

func TmpPath

func TmpPath() string

TmpPath returns the absolute path for /tmp/srcd

Types

This section is empty.

Jump to

Keyboard shortcuts

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