Class SessionContentExclusionApi
java.lang.Object
com.github.copilot.generated.rpc.SessionContentExclusionApi
API methods for the
contentExclusion namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionChecks local file system absolute paths within the session working directory against its content-exclusion policy.
-
Method Details
-
checkPaths
@CopilotExperimental public CompletableFuture<SessionContentExclusionCheckPathsResult> checkPaths(SessionContentExclusionCheckPathsParams params) Checks local file system absolute paths within the session working directory against its content-exclusion policy. Results preserve input order. Unsupported paths/filesystems and unavailable policy evaluation return available false, and callers must treat every requested path as excluded.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-