diff --git a/crates/rattler_conda_types/src/package/has_prefix.rs b/crates/rattler_conda_types/src/package/has_prefix.rs index e4d37c1ca..6a4d1e4d6 100644 --- a/crates/rattler_conda_types/src/package/has_prefix.rs +++ b/crates/rattler_conda_types/src/package/has_prefix.rs @@ -15,10 +15,14 @@ use std::{ sync::OnceLock, }; +/// Representation of an entry in `info/has_prefix`. #[derive(Debug, Clone, PartialEq, Eq)] pub struct HasPrefixEntry { + /// The prefix placeholder in the file pub prefix: Cow<'static, str>, + /// The file's mode pub file_mode: FileMode, + /// The file's relative path respective to the environment's prefix pub relative_path: PathBuf, } diff --git a/crates/rattler_conda_types/src/package/mod.rs b/crates/rattler_conda_types/src/package/mod.rs index cd4164fcc..607865bca 100644 --- a/crates/rattler_conda_types/src/package/mod.rs +++ b/crates/rattler_conda_types/src/package/mod.rs @@ -24,6 +24,7 @@ pub use { entry_point::EntryPoint, files::Files, has_prefix::HasPrefix, + has_prefix::HasPrefixEntry, index::IndexJson, link::{LinkJson, NoArchLinks, PythonEntryPoints}, no_link::NoLink,