Batch rename: imfs -> vfs

This commit is contained in:
Lucien Greathouse
2019-10-12 13:58:00 -07:00
parent 24c697bea7
commit 1031600c63
40 changed files with 539 additions and 545 deletions

View File

@@ -8,9 +8,9 @@ use failure::Fail;
use termcolor::{BufferWriter, Color, ColorChoice, ColorSpec, WriteColor};
use crate::{
imfs::{Imfs, RealFetcher, WatchMode},
project::ProjectLoadError,
serve_session::ServeSession,
vfs::{RealFetcher, Vfs, WatchMode},
web::LiveServer,
};
@@ -33,9 +33,9 @@ impl_from!(ServeError {
});
pub fn serve(options: &ServeOptions) -> Result<(), ServeError> {
let imfs = Imfs::new(RealFetcher::new(WatchMode::Enabled));
let vfs = Vfs::new(RealFetcher::new(WatchMode::Enabled));
let session = Arc::new(ServeSession::new(imfs, &options.fuzzy_project_path));
let session = Arc::new(ServeSession::new(vfs, &options.fuzzy_project_path));
let port = options
.port