pub enum PoolLayout {
ComponentThenNamePrefix,
}Expand description
Describes the layout of the pool part of the repository.
This type effectively controls where .deb files will be placed under the repository root.
Variants§
ComponentThenNamePrefix
File paths are <component>/<name_prefix>/<filename>.
This is the layout as used by the Debian distribution.
The package name is used to derive a directory prefix. For packages beginning with lib,
the prefix is libz/<package>/. For everything else, it is <first character>/<package>/.
For example, file zstd_1.4.8+dfsg-2.1_amd64.deb in the main component will be mapped to
pool/main/libz/libzstd/zstd_1.4.8+dfsg-2.1_amd64.deb and python3.9_3.9.9-1_arm64.deb in
the main component will be mapped to pool/main/p/python3.9/python3.9_3.9.9-1_arm64.deb.
Implementations§
Trait Implementations§
Source§impl Clone for PoolLayout
impl Clone for PoolLayout
Source§fn clone(&self) -> PoolLayout
fn clone(&self) -> PoolLayout
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoolLayout
impl Debug for PoolLayout
Source§impl Default for PoolLayout
impl Default for PoolLayout
impl Copy for PoolLayout
Auto Trait Implementations§
impl Freeze for PoolLayout
impl RefUnwindSafe for PoolLayout
impl Send for PoolLayout
impl Sync for PoolLayout
impl Unpin for PoolLayout
impl UnwindSafe for PoolLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more