Skip to content

Commit

Permalink
add missing functions to NullFileSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Feb 1, 2023
1 parent 4376335 commit cfa8efd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crates/turbo-tasks-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1606,6 +1606,16 @@ impl FileSystem for NullFileSystem {
fn write(&self, _fs_path: FileSystemPathVc, _content: FileContentVc) -> CompletionVc {
CompletionVc::new()
}

#[turbo_tasks::function]
fn write_link(&self, _fs_path: FileSystemPathVc, _target: LinkContentVc) -> CompletionVc {
CompletionVc::new()
}

#[turbo_tasks::function]
fn metadata(&self, _fs_path: FileSystemPathVc) -> FileMetaVc {
FileMeta::default().cell()
}
}

#[turbo_tasks::value_impl]
Expand Down

0 comments on commit cfa8efd

Please sign in to comment.