 | PathConverterAbsoluteToRelativePaths Method |
Converts a collection of absolute paths (root + /Files/ + path)
to their relative file paths ([Public/Private/ReadOnly] + path)
based on the specified user and root directory.
Namespace: Canary.Axiom.Shared.FilePathAssembly: Canary.Axiom.Shared (in Canary.Axiom.Shared.dll) Version: 26.3.0.26126+77919fe8dcde1308422799b2086ea8bb512a61ce
Syntaxpublic static PathConverterPathMap[] AbsoluteToRelativePaths(
IEnumerable<string> absolutePaths,
string userName,
string root
)
Parameters
- absolutePaths IEnumerableString
- The absolute (or actual file system)
paths to convert.
(Must start with root)
- userName String
- The user name associated with the
file paths.
- root String
- The root directory for user data in the
file system.
Return Value
PathConverterPathMap
An array of path mappings, each containing the absolute path and
their corresponding relative file path.
Exceptions
See Also