summaryrefslogtreecommitdiff
path: root/ext/fs/in_memory_fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fs/in_memory_fs.rs')
-rw-r--r--ext/fs/in_memory_fs.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/ext/fs/in_memory_fs.rs b/ext/fs/in_memory_fs.rs
index 153327ff6..e2babf40a 100644
--- a/ext/fs/in_memory_fs.rs
+++ b/ext/fs/in_memory_fs.rs
@@ -350,6 +350,27 @@ impl FileSystem for InMemoryFs {
self.utime_sync(&path, atime_secs, atime_nanos, mtime_secs, mtime_nanos)
}
+ fn lutime_sync(
+ &self,
+ _path: &Path,
+ _atime_secs: i64,
+ _atime_nanos: u32,
+ _mtime_secs: i64,
+ _mtime_nanos: u32,
+ ) -> FsResult<()> {
+ Err(FsError::NotSupported)
+ }
+ async fn lutime_async(
+ &self,
+ path: PathBuf,
+ atime_secs: i64,
+ atime_nanos: u32,
+ mtime_secs: i64,
+ mtime_nanos: u32,
+ ) -> FsResult<()> {
+ self.lutime_sync(&path, atime_secs, atime_nanos, mtime_secs, mtime_nanos)
+ }
+
fn write_file_sync(
&self,
path: &Path,