Add support for devices

Address code comments from previous commit

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2017-02-01 14:23:56 -08:00
parent 200cd6e877
commit f78105d832
5 changed files with 28 additions and 9 deletions

View file

@ -25,3 +25,7 @@ func copyFileContent(dst, src *os.File) error {
func copyXAttrs(dst, src string) error {
return nil
}
func copyDevice(dst string, fi os.FileInfo) error {
return errors.New("device copy not supported")
}