MCPcopy Create free account
hub / github.com/angular/angular / metadata

Method metadata

packages/compiler-cli/preprocessor/ng-analyze/src/perf/layer.rs:183–200  ·  view source on GitHub ↗
(name: &'static str, tid: u32, value: String)

Source from the content-addressed store, hash-verified

181 }
182
183 fn metadata(name: &'static str, tid: u32, value: String) -> Self {
184 let args = Args {
185 name: Some(value),
186 ..Args::default()
187 };
188 Self {
189 name: Name::Meta(name),
190 cat: None,
191 ph: "M",
192 tid,
193 ts: 0.0,
194 dur: None,
195 id: None,
196 id2: None,
197 bp: None,
198 args: Some(args),
199 }
200 }
201}
202
203fn us(ns: u64) -> f64 {

Callers

nothing calls this directly

Calls 1

MetaInterface · 0.50

Tested by

no test coverage detected