We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91d0ce5 commit 8f1fd99Copy full SHA for 8f1fd99
1 file changed
crates/ark/src/lsp/sources.rs
@@ -16,8 +16,8 @@ use crate::lsp::main_loop::TokioUnboundedSender;
16
17
/// Handle source requests to provide R source files for an installed package
18
///
19
-/// Implementations live outside of oak, oak is only in charge of ingesting the
20
-/// returned directory.
+/// Implemented as a trait so we can have a production level [OakSourceHandler]
+/// and a test level `TestSourceHandler`.
21
pub(crate) trait SourceHandler: Send + Sync {
22
fn handle(&self, request: &SourceRequest) -> SourceResponse;
23
}
0 commit comments