Skip to content

Commit

Permalink
Remove unused internal From<&TempDir> implementation (#739)
Browse files Browse the repository at this point in the history
Since `pack::BuildpackReference` is an internal-only type (not to be
confused with the public `build_config::BuildpackReference`), and the
`From<&TempDir>` implementation is unused since #666.

GUS-W-14502304.
  • Loading branch information
edmorley authored Nov 16, 2023
1 parent 66d148b commit 69f8727
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions libcnb-test/src/pack.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use std::collections::BTreeMap;
use std::path::PathBuf;
use std::process::Command;
use tempfile::TempDir;

/// Represents a `pack build` command.
#[derive(Clone, Debug)]
Expand All @@ -27,12 +26,6 @@ impl From<PathBuf> for BuildpackReference {
}
}

impl From<&TempDir> for BuildpackReference {
fn from(path: &TempDir) -> Self {
Self::Path(path.path().into())
}
}

impl From<String> for BuildpackReference {
fn from(id: String) -> Self {
Self::Id(id)
Expand Down

0 comments on commit 69f8727

Please sign in to comment.