unpack_string/hw07_file_copying/copy.go

16 lines
275 B
Go
Raw Normal View History

2023-10-30 15:21:12 +03:00
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
}