qualityAssurance.utils.path module

qualityAssurance.utils.path.asFlatList(input)

Convert the input to a flat list.

Parameters:input
Returns:Flattened list
Return type:list
qualityAssurance.utils.path.baseName(name)

This function will strip the namespaces and grouping information of a name. Useful when working with fullPaths but needing the base for naming.

Parameters:name (str) –
Returns:Base name of string
Return type:str
qualityAssurance.utils.path.namespace(name)

This function will return the namespace if any of the object

Parameters:name (str) –
Returns:namespace
Return type:str/None
qualityAssurance.utils.path.rootName(name)

This function will strip the grouping information of a name. Useful when working with fullPaths but needing the base for naming.

Parameters:name (str) –
Returns:Root name of string
Return type:str