This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor requested changes, minor improvements
- `project` - `checkCfgFilenames` - Improve function and code comments - Use boolean value indicating whether value was found in actual filenames. If manifest file was not found, return `errProjectNotFound`. Use boolean to determine if lock file was not found instead of length check. - `TestCheckCfgFilenames` - Add code comments for test cases explaining the expected behavior - `fs` - `ReadActualFilenames` - Use cleaner check(`<=` ➡ `==`) to see if `names` parameter for `ReadActualFilenames` actually has any values. - Use `Readdirnames` instead of `Readdir`. This is expected to perform better in most cases. - `TestReadActualFilenames` - Add code comments for test cases explaining the expected behavior - general - Make line length for code comments consistent(90), add periods where appropriate. - String formatting, use %q instead of '%s'
- Loading branch information
1 parent
afaf870
commit 28f4f35
Showing
5 changed files
with
82 additions
and
47 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
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
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