Skip to content

Commit b8659a8

Browse files
committed
v0.1.0
1 parent 1baadc6 commit b8659a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/filepath.gleam

+2-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ pub fn is_absolute(path: String) -> Bool {
182182
/// Expand `..` and `.` segments in a path.
183183
///
184184
/// If the path has a `..` segment that would go up past the root of the path
185-
/// then an error is returned.
185+
/// then an error is returned. This may be useful to example to ensure that a
186+
/// path specified by a user does not go outside of a directory.
186187
///
187188
/// If the path is absolute then the result will always be absolute.
188189
///

0 commit comments

Comments
 (0)