macaron.path_utils package
Submodules
macaron.path_utils.purl_based_path module
This module contains functions to manage PackageURL-based paths.
- macaron.path_utils.purl_based_path.get_purl_based_dir(purl_type, purl_name, purl_namespace=None)
Return a directory path according to components of a PackageURL.
- Parameters:
- Returns:
The directory path.
- Return type:
Examples
>>> get_purl_based_dir(purl_type="maven", purl_name="macaron", purl_namespace="oracle") 'maven/oracle/macaron'