Module: alfresco/core/PathUtils

alfresco/core/PathUtils

This is a mixin that provides functions for processing paths.
Author:
  • Dave Draper
License:
Source:

Methods

combinePaths(path) → {string}

Append multiple parts of a path, ensuring duplicate path separators are removed. Leaves "://" patterns intact so URIs and nodeRefs are safe to pass through.
Parameters:
Name Type Argument Description
path string <repeatable>
A path to be combined
Source:
Returns:
A string containing the combined paths
Type
string