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

Method build_context

crates/csskit/src/commands/extract.rs:122–124  ·  view source on GitHub ↗

Build the per-file context from the parsed stylesheet and source.

(&self, _stylesheet: &StyleSheet<'a>, _src: &str)

Source from the content-addressed store, hash-verified

120
121 /// Build the per-file context from the parsed stylesheet and source.
122 fn build_context<'a>(&self, _stylesheet: &StyleSheet<'a>, _src: &str) -> Self::FileContext {
123 Self::FileContext::default()
124 }
125
126 /// Whether to print a filename header before each file's rows in text mode.
127 fn show_file_header(&self) -> bool {

Callers 1

runMethod · 0.45

Implementers 3

specificity.rscrates/csskit/src/commands/specificity
colors.rscrates/csskit/src/commands/colors.rs
find.rscrates/csskit/src/commands/find.rs

Calls

no outgoing calls

Tested by

no test coverage detected