Skip to main content

Bash

Struct Bash 

Source
pub struct Bash {
    pub name: String,
    pub verify: Option<String>,
}
Expand description

The bash driver: the VERSION file, and the archive rk packs from the declared tracked files of HEAD, dist/<name>-<version>.tar.gz beside its .sha256, proven by the recorded verify command.

SATISFIES release-engine:the-bash-release-packs-its-declaration

Fields§

§name: String

The name the archive and its top directory carry: the last segment of the project path on the forge.

§verify: Option<String>

The [profile.release.build].verify command the target records.

Trait Implementations§

Source§

impl Clone for Bash

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Bash

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl DriverAdapter for Bash

Source§

fn build( &self, root: &Utf8Path, epoch: &str, ) -> Result<Vec<Utf8PathBuf>, RkError>

Pack the declared set of HEAD from its git objects, never from the working tree, then verify it before anything publishes.

Source§

fn packed( &self, root: &Utf8Path, rev: &str, ) -> Result<BTreeSet<String>, RkError>

The declared set of the revision, read from its own tree and its own configuration, with no build.

Source§

fn driver(&self) -> &'static str

The driver’s name, as the record states it.
Source§

fn read_version(&self, root: &Utf8Path) -> Result<Version, RkError>

The version the target carries now. Read more
Source§

fn write_version( &self, root: &Utf8Path, version: Version, ) -> Result<Vec<Utf8PathBuf>, RkError>

Write version and return every file the write changed, relative to root. Read more
Source§

fn nothing_packed(&self) -> String

Why the request opens nothing where neither revision packs a file past rk’s own.
Source§

fn tag_of(&self, version: Version) -> String

The tag a version releases as.

Auto Trait Implementations§

§

impl Forget for Bash

§

impl Freeze for Bash

§

impl Move for Bash

§

impl RefUnwindSafe for Bash

§

impl Send for Bash

§

impl Sync for Bash

§

impl Unpin for Bash

§

impl UnsafeUnpin for Bash

§

impl UnwindSafe for Bash

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.