diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-03-23 09:54:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 09:54:22 -0400 |
commit | 53dac7451bbdd527aa91e01653b678547624fc39 (patch) | |
tree | c43dbc34fd4ada4249064aab2086ab64b276a460 /cli/lockfile.rs | |
parent | 5edcd9dd355483df6b9a8c34ca94f3f54d672b9e (diff) |
chore: remove all `pub(crate)`s from the cli crate (#14083)
Diffstat (limited to 'cli/lockfile.rs')
-rw-r--r-- | cli/lockfile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lockfile.rs b/cli/lockfile.rs index 58ddc7320..ea1429829 100644 --- a/cli/lockfile.rs +++ b/cli/lockfile.rs @@ -91,7 +91,7 @@ impl Lockfile { } #[derive(Debug)] -pub(crate) struct Locker(Option<Arc<Mutex<Lockfile>>>); +pub struct Locker(Option<Arc<Mutex<Lockfile>>>); impl deno_graph::source::Locker for Locker { fn check_or_insert( @@ -117,7 +117,7 @@ impl deno_graph::source::Locker for Locker { } } -pub(crate) fn as_maybe_locker( +pub fn as_maybe_locker( lockfile: Option<Arc<Mutex<Lockfile>>>, ) -> Option<Rc<RefCell<Box<dyn deno_graph::source::Locker>>>> { lockfile.as_ref().map(|lf| { |