MCPcopy Create free account
hub / github.com/github/copilot-sdk / providerPath

Function providerPath

go/internal/e2e/session_fs_e2e_test.go:476–482  ·  view source on GitHub ↗
(root string, sessionID string, path string)

Source from the content-addressed store, hash-verified

474}
475
476func providerPath(root string, sessionID string, path string) string {
477 trimmed := strings.TrimPrefix(path, "/")
478 if trimmed == "" {
479 return filepath.Join(root, sessionID)
480 }
481 return filepath.Join(root, sessionID, filepath.FromSlash(trimmed))
482}
483
484func findToolCallResult(messages []copilot.SessionEvent, toolName string) string {
485 for _, message := range messages {

Callers 11

TestSessionFSE2EFunction · 0.85
ReadFileMethod · 0.85
WriteFileMethod · 0.85
AppendFileMethod · 0.85
ExistsMethod · 0.85
StatMethod · 0.85
MakeDirectoryMethod · 0.85
ReadDirectoryMethod · 0.85
RemoveMethod · 0.85
RenameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…