mbland / go-script-bash

Framework for writing modular, discoverable, testable Bash scripts
ISC License
96 stars 16 forks source link

Add lib/fileutil file and directory tools module #204

Closed mbland closed 7 years ago

mbland commented 7 years ago

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:

coveralls commented 7 years ago

Coverage Status

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