pub struct CreateReport {
pub path: String,
pub branch: String,
pub branch_created: bool,
pub base: Option<String>,
pub start: Option<StartPoint>,
pub start_commit: Option<String>,
pub container: String,
pub container_created: bool,
pub existed: bool,
pub envrc: EnvrcApproval,
pub envrc_local: LocalOverrides,
pub hooks: HooksPath,
}Expand description
What a create did.
Fields§
§path: StringWhere the worktree is.
branch: StringThe branch checked out in it.
branch_created: boolWhether that branch was created by this command.
base: Option<String>The ref a new branch started from (origin/master).
start: Option<StartPoint>Where a branch this command created started, and why there.
start_commit: Option<String>The exact commit a branch this command created starts at, read back from the worktree rather than assumed.
container: StringThe container it went into.
container_created: boolWhether the container was created by this command.
existed: boolThe worktree already existed at its canonical path and nothing was created.
envrc: EnvrcApprovalWhat became of its .envrc under direnv: the primary checkout’s approval carried to
this path, or why it was not. A worktree that starts blocked is the recurring
“direnv does not work again”; this says so before the first cd does.
envrc_local: LocalOverridesWhat became of the primary checkout’s machine-local .envrc.local here.
hooks: HooksPathWhich hooks it runs: its own tree’s, bound per worktree when the shared
core.hooksPath would have sent it to the primary checkout’s (I2718).
Trait Implementations§
Source§impl Clone for CreateReport
impl Clone for CreateReport
Source§fn clone(&self) -> CreateReport
fn clone(&self) -> CreateReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateReport
impl Debug for CreateReport
Source§impl<'de> Deserialize<'de> for CreateReport
impl<'de> Deserialize<'de> for CreateReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for CreateReport
impl JsonSchema for CreateReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more