MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / fetch

Method fetch

crates/opencode-provider/src/github_copilot.rs:727–736  ·  view source on GitHub ↗
(
            &self,
            _request: CustomFetchRequest,
        )

Source from the content-addressed store, hash-verified

725 #[async_trait]
726 impl CustomFetchProxy for NoopProxy {
727 async fn fetch(
728 &self,
729 _request: CustomFetchRequest,
730 ) -> Result<CustomFetchResponse, ProviderError> {
731 Ok(CustomFetchResponse {
732 status: 200,
733 headers: HashMap::new(),
734 body: String::new(),
735 })
736 }
737
738 async fn fetch_stream(
739 &self,

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected