Skip to content

Commit

Permalink
Remove some unnecessary pub(crate) visibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
jwodder committed Feb 2, 2024
1 parent 39071ae commit 24e4406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dandi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl<'a> VersionEndpoint<'a> {
Ok(VersionMetadata(dump_json_as_yaml(data).into_bytes()))
}

pub(crate) async fn get_asset_by_id(&self, id: &str) -> Result<Asset, DandiError> {
async fn get_asset_by_id(&self, id: &str) -> Result<Asset, DandiError> {

Check warning on line 242 in src/dandi/mod.rs

View check run for this annotation

Codecov / codecov/patch

src/dandi/mod.rs#L242

Added line #L242 was not covered by tests
self.client
.get(self.client.get_url([
"dandisets",
Expand Down Expand Up @@ -300,7 +300,7 @@ impl<'a> VersionEndpoint<'a> {
self.client.paginate(url)
}

pub(crate) async fn get_path(&self, path: &PurePath) -> Result<AtAssetPath, DandiError> {
async fn get_path(&self, path: &PurePath) -> Result<AtAssetPath, DandiError> {

Check warning on line 303 in src/dandi/mod.rs

View check run for this annotation

Codecov / codecov/patch

src/dandi/mod.rs#L303

Added line #L303 was not covered by tests
let mut url = self.client.get_url([
"dandisets",
self.dandiset_id.as_ref(),
Expand Down

0 comments on commit 24e4406

Please sign in to comment.