copy

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dir

func Dir(srcfs forensicfs.ForensicFS, destfs afero.Fs, srcdir, destdir string) error

Dir is for a directory, with scanning contents inside the directory and pass everything to "copy" recursively.

func File

func File(srcfs forensicfs.ForensicFS, destfs afero.Fs, src, dest string) error

File is for just a file, with considering existence of parent directory and file permission.

func HashFile

func HashFile(srcfs forensicfs.ForensicFS, destfs afero.Fs, src, dest string) (int64, []byte, error)

HashFile is for just a file, with considering existence of parent directory and file permission.

func Item

func Item(srcfs forensicfs.ForensicFS, destfs afero.Fs, src, dest string) error

Item dispatches copy-funcs according src

Types

This section is empty.

Jump to

Keyboard shortcuts

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