distillery_packager v1.0.4 DistilleryPackager.Utils.File
This module provides functions about the filesystem.
Link to this section Summary
Functions
Retrieves all the files within a directory, retrieves the size of all these files, then adds them all together
List all files recursively
Remove all files that match a name
Remove junk files from the data directory
Remove tmp directories used when building the deb
Link to this section Functions
Link to this function
get_dir_size(dir)
Retrieves all the files within a directory, retrieves the size of all these files, then adds them all together.
Link to this function
ls_r(path \\ ".")
List all files recursively
Link to this function
remove_all_files_by_name(root, name)
Remove all files that match a name
Link to this function
remove_fs_metadata(data_dir)
Remove junk files from the data directory.
Link to this function
remove_tmp(dir)
Remove tmp directories used when building the deb