Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lib/fileutil file and directory tools module #204

Merged
merged 2 commits into from
Sep 4, 2017

Conversation

mbland
Copy link
Owner

@mbland mbland commented Sep 4, 2017

Part of #184. Elides create_dir_with_permissions and create_dirs_with_permissions from scripts/lib/walk in mbland/dev-setup into a single function, @go.create_dirs.

Adds @go.collect_file_paths to collect all the regular file paths within a directory structure.

Also contains a couple of small updates to @go.canonicalize_path:

  • a small fix to handle root dotfiles ; previously the dots would get stripped off of the beginning
  • an update to the variable name validation message

Previously the dots would get stripped off of the beginning of dotfiles
in the root directory.

Also updates the variable name validation message.
Part of #184. Elides `create_dir_with_permissions` and
`create_dirs_with_permissions` from `scripts/lib/walk` in
mbland/dev-setup into a single function, `@go.create_dirs`.

Adds `@go.collect_file_paths` to collect all the regular file paths
within a directory structure.
@mbland mbland added this to the v1.7.0 milestone Sep 4, 2017
@mbland mbland self-assigned this Sep 4, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 94.835% when pulling b8181a7 on fileutil-module-#184 into ea19376 on master.

@mbland mbland merged commit 5761ec8 into master Sep 4, 2017
@mbland mbland deleted the fileutil-module-#184 branch September 4, 2017 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants