 | 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: 25.6.0.25344+3070493948bf7d32a86bd3e9a8bcf4cc9a5b1929
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