Skip to content

Commit e03874a

Browse files
committed
Add comment
1 parent 152d5a4 commit e03874a

File tree

1 file changed

+1
-0
lines changed
  • turbopack/crates/turbo-tasks-fs/src

1 file changed

+1
-0
lines changed

turbopack/crates/turbo-tasks-fs/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,7 @@ impl ValueToString for DiskFileSystem {
997997
}
998998
}
999999

1000+
/// Note: this only works for Unix-style paths (with `/` as a separator).
10001001
pub fn get_relative_path_to(path: &str, other_path: &str) -> String {
10011002
fn split(s: &str) -> impl Iterator<Item = &str> {
10021003
let empty = s.is_empty();

0 commit comments

Comments
 (0)