fs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fs contains utilites for interacting with the host filesystem in a docker friendly way

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src, dst string) error

Copy recursively directories, symlinks, files copies from src to dst Copy will make dirs as necessary, and keep file modes Symlinks will be dereferenced similar to `cp -r src dst`

func CopyFile

func CopyFile(src, dst string) (err error)

CopyFile copies a file from src to dst

func TempDir

func TempDir(dir, prefix string) (name string, err error)

TempDir is like ioutil.TempDir, but more docker friendly

Types

This section is empty.

Jump to

Keyboard shortcuts

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