mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 02:22:40 +00:00
chore(cli): remove dead code (#7941)
This commit is contained in:
parent
e877b36072
commit
26639b3bac
12 changed files with 20 additions and 234 deletions
|
@ -244,12 +244,6 @@ pub struct ModuleGraphFile {
|
|||
pub source_code: String,
|
||||
}
|
||||
|
||||
impl ModuleGraphFile {
|
||||
pub fn size(&self) -> usize {
|
||||
self.source_code.as_bytes().len()
|
||||
}
|
||||
}
|
||||
|
||||
type SourceFileFuture = Pin<
|
||||
Box<dyn Future<Output = Result<(ModuleSpecifier, SourceFile), AnyError>>>,
|
||||
>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue