unpack_string/hw07_file_copying/copy.go

16 lines
275 B
Go

package main
import (
"errors"
)
var (
ErrUnsupportedFile = errors.New("unsupported file")
ErrOffsetExceedsFileSize = errors.New("offset exceeds file size")
)
func Copy(fromPath, toPath string, offset, limit int64) error {
// Place your code here.
return nil
}