mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
refactor(lsp): move config file related code to config.rs (#19790)
Will make #19788 easier.
This commit is contained in:
parent
629d09b149
commit
8dd9d5f523
10 changed files with 176 additions and 169 deletions
2
cli/cache/parsed_source.rs
vendored
2
cli/cache/parsed_source.rs
vendored
|
@ -262,7 +262,7 @@ impl deno_graph::ModuleAnalyzer for ParsedSourceCacheModuleAnalyzer {
|
|||
}
|
||||
|
||||
fn compute_source_hash(bytes: &[u8]) -> String {
|
||||
FastInsecureHasher::new().write(bytes).finish().to_string()
|
||||
FastInsecureHasher::hash(bytes).to_string()
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue