MCPcopy Index your code
hub / github.com/AI45Lab/Code / fs_ext

Method fs_ext

core/src/workspace/mod.rs:601–603  ·  view source on GitHub ↗

Optional compare-and-swap file system extensions. Returns `Some` when the backend supports version-aware writes (e.g. S3 via ETag). Tools that perform read-modify-write cycles should route through [`Self::read_for_edit`] and [`Self::write_for_edit`] rather than touching this directly.

(&self)

Source from the content-addressed store, hash-verified

599 /// route through [`Self::read_for_edit`] and [`Self::write_for_edit`]
600 /// rather than touching this directly.
601 pub fn fs_ext(&self) -> Option<Arc<dyn WorkspaceFileSystemExt>> {
602 self.file_system_ext.clone()
603 }
604
605 pub fn command_runner(&self) -> Option<Arc<dyn WorkspaceCommandRunner>> {
606 self.command_runner.clone()

Callers 2

read_for_editMethod · 0.80
write_for_editMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected