commit 2f496c7160f3d300d79ae6a002daa27ed0abb2b0
parent 4fb6dd234b094838d1085d15d1f463f2b8b33bde
Author: Sebastian <sebastian@sebsite.pw>
Date: Sun, 20 Mar 2022 00:24:14 -0400
fs: improve resolve documentation
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/fs.ha b/fs/fs.ha
@@ -241,8 +241,8 @@ export fn chown(fs: *fs, path: str, uid: uint, gid: uint) (void | error) = {
// Resolves a path to its absolute, normalized value. Relative paths will be
// rooted (if supported by the fs implementation), and "." and ".." components
-// will be reduced. This function does not follow symlinks: see [[realpath]] if
-// you need this behavior.
+// will be reduced. This function does not follow symlinks; see [[realpath]] if
+// you need this behavior. The caller must free the return value.
export fn resolve(fs: *fs, path: str) str = {
match (fs.resolve) {
case null => void;