summaryrefslogtreecommitdiff
path: root/ext/fs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-10-14 18:01:51 +0530
committerGitHub <noreply@github.com>2024-10-14 12:31:51 +0000
commitdfbf03eee798da4f42a1bffeebd8edd1d0095406 (patch)
treed08d28cc6b01b72b0233537abe89faf7a8cf85b7 /ext/fs
parent3eda179220370e9c9093427fb694eed746548008 (diff)
perf: use fast calls for microtask ops (#26236)
Updates deno_core to 0.312.0
Diffstat (limited to 'ext/fs')
-rw-r--r--ext/fs/std_fs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fs/std_fs.rs b/ext/fs/std_fs.rs
index 41a8569ba..1a83c97c5 100644
--- a/ext/fs/std_fs.rs
+++ b/ext/fs/std_fs.rs
@@ -929,7 +929,7 @@ fn exists(path: &Path) -> bool {
}
fn realpath(path: &Path) -> FsResult<PathBuf> {
- Ok(deno_core::strip_unc_prefix(path.canonicalize()?))
+ Ok(deno_path_util::strip_unc_prefix(path.canonicalize()?))
}
fn read_dir(path: &Path) -> FsResult<Vec<FsDirEntry>> {