utils/pod_path_helper library
Utility functions to handle solidpod path discrepancies between writePod and readPod.
Copyright (C) 2025, Software Innovation Institute, ANU.
Licensed under the GNU General Public License, Version 3 (the "License").
License: https://www.gnu.org/licenses/gpl-3.0.en.html.
Authors: Ashley Tang
Functions
-
getReadPath(
String relativePath) → Future< String> - Gets the correct path for reading files from POD.
-
getWritePath(
String relativePath) → String - Gets the write path for POD operations.
-
normalizePath(
String path) → String - Ensures consistent path formatting by removing leading/trailing slashes and normalizing path separators.