Skip to content

Commit fa1bed5

Browse files
committed
Remove pub
1 parent 5bf5fc2 commit fa1bed5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

rewatch/src/build/packages.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -416,12 +416,7 @@ pub fn read_package_name(package_dir: &Path) -> Result<String> {
416416
.ok_or_else(|| anyhow!("No name field found in package.json"))
417417
}
418418

419-
pub fn make_package(
420-
config: config::Config,
421-
package_path: &Path,
422-
is_pinned_dep: bool,
423-
is_root: bool,
424-
) -> Package {
419+
fn make_package(config: config::Config, package_path: &Path, is_pinned_dep: bool, is_root: bool) -> Package {
425420
let source_folders = match config.sources.to_owned() {
426421
Some(config::OneOrMore::Single(source)) => get_source_dirs(source, None),
427422
Some(config::OneOrMore::Multiple(sources)) => {
@@ -563,7 +558,7 @@ pub fn get_source_files(
563558

564559
/// This takes the tree of packages, and finds all the source files for each, adding them to the
565560
/// respective packages.
566-
pub fn extend_with_children(
561+
fn extend_with_children(
567562
filter: &Option<regex::Regex>,
568563
mut build: AHashMap<String, Package>,
569564
build_dev_deps: bool,

0 commit comments

Comments
 (0)