-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dont download if file already present
if a file is already i the file system and it validates, we do not need to download it again. Update resource.go added comment back to the code Update resource.go removed os.Remove(fileName) which was previously on line 82 Update resource.go deleted my code under the geturltodir function and added the missing line that was requested dont download if file already present if a file is already i the file system and it validates, we do not need to download it again. fixed the too less calls in lock.Download go included a missing boolean value for the lock.Download call. dont download if file already present if a file is already i the file system and it validates, we do not need to download it again. Update resource.go added comment back to the code Update resource.go removed os.Remove(fileName) which was previously on line 82 Update resource.go deleted my code under the geturltodir function and added the missing line that was requested dont download if file already present if a file is already i the file system and it validates, we do not need to download it again. fixed the too less calls in lock.Download go included a missing boolean value for the lock.Download call.
- Loading branch information
1 parent
0575bde
commit 97f38ea
Showing
2 changed files
with
118 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters