mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 11:58:42 -05:00
src/http.rs -> src/http_util.rs
So as not to conflict with http crate.
This commit is contained in:
parent
c99207bf39
commit
417ea7bb6d
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ use errors::DenoError;
|
|||
use errors::DenoResult;
|
||||
use errors::ErrorKind;
|
||||
use fs as deno_fs;
|
||||
use http;
|
||||
use http_util;
|
||||
use ring;
|
||||
use std;
|
||||
use std::fmt::Write;
|
||||
|
@ -114,7 +114,7 @@ impl DenoDir {
|
|||
|
||||
let src = if self.reload || !p.exists() {
|
||||
println!("Downloading {}", module_name);
|
||||
let source = http::fetch_sync_string(module_name)?;
|
||||
let source = http_util::fetch_sync_string(module_name)?;
|
||||
match p.parent() {
|
||||
Some(ref parent) => fs::create_dir_all(parent),
|
||||
None => Ok(()),
|
||||
|
|
|
@ -26,7 +26,7 @@ mod deno_dir;
|
|||
mod errors;
|
||||
mod flags;
|
||||
mod fs;
|
||||
mod http;
|
||||
mod http_util;
|
||||
mod isolate;
|
||||
mod libdeno;
|
||||
pub mod ops;
|
||||
|
|
Loading…
Reference in a new issue