Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
roots: move to be a submodule of project
Browse files Browse the repository at this point in the history
`roots` needs to be able to access private fields of project.
  • Loading branch information
Profpatsch authored and grahamc committed Aug 29, 2019
1 parent 501f502 commit f0ff969
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/build_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
use crate::builder;
use crate::notify;
use crate::pathreduction::reduce_paths;
use crate::project::roots;
use crate::project::roots::Roots;
use crate::project::Project;
use crate::roots;
use crate::roots::Roots;
use crate::watch::Watch;
use std::sync::mpsc::Sender;

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ pub mod ops;
pub mod osstrlines;
pub mod pathreduction;
pub mod project;
pub mod roots;
pub mod socket;
pub mod watch;

Expand Down
2 changes: 2 additions & 0 deletions src/project.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//! Wrap a nix file and manage corresponding state.
pub mod roots;

use cas::ContentAddressable;
use std::os::unix::ffi::OsStrExt;
use std::path::{Path, PathBuf};
Expand Down
File renamed without changes.

0 comments on commit f0ff969

Please sign in to comment.