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

Method read

packages/compiler-cli/preprocessor/ng-analyze/src/compiler/tests.rs:91–96  ·  view source on GitHub ↗
(&self, path: &Path)

Source from the content-addressed store, hash-verified

89 }
90
91 fn read(&self, path: &Path) -> std::io::Result<Vec<u8>> {
92 if path == self.delayed_path {
93 std::thread::sleep(std::time::Duration::from_millis(self.delay_ms));
94 }
95 self.fs.read(path)
96 }
97
98 fn read_to_string(&self, path: &Path) -> std::io::Result<String> {
99 if path == self.delayed_path {

Callers

nothing calls this directly

Calls 1

readMethod · 0.65

Tested by

no test coverage detected