(path string)
| 75 | } |
| 76 | |
| 77 | func openSingleFile(path string) ([]*os.File, error) { |
| 78 | f, err := os.Open(path) |
| 79 | return []*os.File{f}, err |
| 80 | } |
| 81 | |
| 82 | // ValidateChunkSize validate the chunk size |
| 83 | func ValidateChunkSize(filePath string, fileChunkSizeInMB uint64) error { |