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

Method build

core/src/workspace/mod.rs:867–882  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

865 }
866
867 pub fn build(self) -> Arc<WorkspaceServices> {
868 let mut services = WorkspaceServices::new_with_git(
869 self.workspace_ref,
870 self.capabilities,
871 self.path_resolver,
872 self.file_system,
873 self.command_runner,
874 self.search,
875 self.git,
876 );
877 services.file_system_ext = self.file_system_ext;
878 services.git_stash = self.git_stash;
879 services.git_worktree = self.git_worktree;
880 services.operation_timeout = self.operation_timeout;
881 Arc::new(services)
882 }
883}
884
885/// Lexical resolver suitable for virtual/browser/DFS workspaces.

Callers 14

build_reqwest_clientFunction · 0.45
newMethod · 0.45
versioned_servicesFunction · 0.45
newMethod · 0.45
from_s3_backendMethod · 0.45
grepMethod · 0.45
search_filesMethod · 0.45
index_filesMethod · 0.45

Calls

no outgoing calls