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: StringThe 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 DriverAdapter for Bash
impl DriverAdapter for Bash
Source§fn build(
&self,
root: &Utf8Path,
epoch: &str,
) -> Result<Vec<Utf8PathBuf>, RkError>
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>
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 read_version(&self, root: &Utf8Path) -> Result<Version, RkError>
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>
fn write_version( &self, root: &Utf8Path, version: Version, ) -> Result<Vec<Utf8PathBuf>, RkError>
Source§fn nothing_packed(&self) -> String
fn nothing_packed(&self) -> String
Why the request opens nothing where neither revision packs a file
past rk’s own.
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> 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