The code is a concurrent file downloader in Go that splits a file into multiple parts, downloads them in parallel, and assembles the final file, with support for Etag validation to ensure file integrity.
Removed the File Utils Initializer from EncryptFile() method to enhance unit testing and avoid panics due to null parameters.
Renamed GetDownloadManifestPath() to ManifestPath() in line with Go naming conventions.
Updated manifest_test.go to align with the refactored manifest.go logic. With these changes, manifests are now encrypted in memory and subsequently saved to disk, rather than directly created on the disk.
Removed the File Utils Initializer from EncryptFile() method to enhance unit testing and avoid panics due to null parameters.
Renamed GetDownloadManifestPath() to ManifestPath() in line with Go naming conventions.
Updated manifest_test.go to align with the refactored manifest.go logic. With these changes, manifests are now encrypted in memory and subsequently saved to disk, rather than directly created on the disk.