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

Method exists

nodejs/src/sessionFsProvider.ts:74–74  ·  view source on GitHub ↗

Checks whether a path exists.

(path: string)

Source from the content-addressed store, hash-verified

72
73 /** Checks whether a path exists. */
74 exists(path: string): Promise<boolean>;
75
76 /** Gets metadata about a file or directory. Throw if it does not exist. */
77 stat(path: string): Promise<SessionFsFileInfo>;

Callers 1

createSessionFsAdapterFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected