1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-13 16:26:08 -05:00

src/http.rs -> src/http_util.rs

So as not to conflict with http crate.
This commit is contained in:
Ryan Dahl 2018-10-10 13:35:10 -04:00
parent c99207bf39
commit 417ea7bb6d
3 changed files with 3 additions and 3 deletions

View file

@ -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(()),

View file

@ -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;