MCPcopy Create free account
hub / github.com/csskit/csskit / ok

Method ok

crates/csskit/src/commands/extract.rs:64–66  ·  view source on GitHub ↗
(file: impl Into<String>, results: Vec<Record<T>>)

Source from the content-addressed store, hash-verified

62
63impl<T: Serialize> FileEnvelope<T> {
64 pub fn ok(file: impl Into<String>, results: Vec<Record<T>>) -> Self {
65 Self { file: file.into(), ok: true, error: None, results: Some(results) }
66 }
67
68 pub fn err(file: impl Into<String>, error: ErrorRecord) -> Self {
69 Self { file: file.into(), ok: false, error: Some(error), results: None }

Callers 15

installed_versionFunction · 0.80
find_visitable_nodesFunction · 0.80
parseMethod · 0.80
shortestMethod · 0.80
newMethod · 0.80
handleMethod · 0.80
on_eventMethod · 0.80
generate_property_typeFunction · 0.80
browser_version_tokensFunction · 0.80
extract_tree_directoriesFunction · 0.80
parse_spec_pathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected