Function libcnb_package::find_buildpack_dirs
source · pub fn find_buildpack_dirs(start_dir: &Path) -> Result<Vec<PathBuf>, Error>
Expand description
Recursively walks the file system from the given start_dir
to locate any folders containing a
buildpack.toml
file.
Errors
Will return an Err
if any I/O errors happen while walking the file system or any parsing errors
from reading a gitignore file.