edit in pijul-identity/src/repair.rs at line 1
+ use crate::create::CreateParams;
replacement in pijul-identity/src/repair.rs at line 70
[12.433]→[12.433:488](∅→∅) − .create(config, true, use_keyring)
+ .create(
+ config,
+ CreateParams {
+ no_prompt: false,
+ link_remote: true,
+ use_keyring,
+ },
+ )
edit in pijul-identity/src/repair.rs at line 79
[2.4220]→[13.0:65](∅→∅),
[2.4220]→[13.0:65](∅→∅) − old_identity.clone().create(false, true).await?;
resolve order conflict in pijul-identity/src/repair.rs at line 79
replacement in pijul-identity/src/repair.rs at line 104
[12.569]→[12.569:632](∅→∅) − .create(config, true, use_keyring)
+ .create(
+ config,
+ CreateParams {
+ no_prompt: false,
+ link_remote: true,
+ use_keyring,
+ },
+ )
edit in pijul-identity/src/repair.rs at line 113
[2.6256]→[13.66:139](∅→∅) − Complete::default()?.create(false, true).await?;
resolve order conflict in pijul-identity/src/repair.rs at line 113
edit in pijul-identity/src/lib.rs at line 41
+ pub use create::CreateParams;
edit in pijul-identity/src/create.rs at line 14
+ pub struct CreateParams {
+ pub no_prompt: bool,
+ pub link_remote: bool,
+ pub use_keyring: bool,
+ }
+
replacement in pijul-identity/src/create.rs at line 272
[10.7759]→[2.38441:38529](∅→∅),
[2.38441]→[2.38441:38529](∅→∅) − /// * `link_remote` - Override if the identity should be exchanged with the remote.
+ /// * `params.link_remote` - Override if the identity should be exchanged with the remote.
replacement in pijul-identity/src/create.rs at line 276
[10.7839]→[10.7839:7866](∅→∅),
[10.7866]→[12.1728:1755](∅→∅) − link_remote: bool,
− use_keyring: bool,
edit in pijul-identity/src/create.rs at line 278
[2.38529]→[13.140:238](∅→∅) − pub async fn create(&self, no_prompt: bool, link_remote: bool) -> Result<(), anyhow::Error> {
resolve order conflict in pijul-identity/src/create.rs at line 278
edit in pijul-identity/src/create.rs at line 279
[3.14076]→[12.1756:1883](∅→∅) − let confirmed_identity = self
− .prompt_changes(config, None, link_remote, use_keyring)
− .await?;
replacement in pijul-identity/src/create.rs at line 280
[13.270]→[13.270:318](∅→∅) − let confirmed_identity = if no_prompt {
+ let confirmed_identity = if params.no_prompt {
replacement in pijul-identity/src/create.rs at line 283
[13.352]→[13.352:431](∅→∅) − prompted_identity = self.prompt_changes(None, link_remote).await?;
+ prompted_identity = self
+ .prompt_changes(config, None, params.link_remote, params.use_keyring)
+ .await?;
replacement in pijul/src/commands/identity.rs at line 4
[10.13454]→[7.3927:4015](∅→∅),
[4.1254]→[7.3927:4015](∅→∅) − use pijul_identity::{self as identity, Complete, choose_identity_name, fix_identities};
+ use pijul_identity::{
+ self as identity, Complete, CreateParams, choose_identity_name, fix_identities,
+ };
replacement in pijul/src/commands/identity.rs at line 277
[9.3099]→[12.2567:2642](∅→∅) − .create(config, !options.no_link, !options.no_keyring)
+ .create(
+ config,
+ CreateParams {
+ link_remote: !options.no_link,
+ use_keyring: !options.no_keyring,
+ no_prompt: options.no_prompt,
+ },
+ )
edit in pijul/src/commands/identity.rs at line 286
[9.3195]→[12.2643:2643](∅→∅),
[2.49307]→[13.474:551](∅→∅) −
− identity.create(options.no_prompt, !options.no_link).await?;
resolve order conflict in pijul/src/commands/identity.rs at line 286
resurrect zombie in pijul/src/commands/identity.rs at line 509
[12.3372]→[9.4559:4579](∅→∅),
[9.4559]→[9.4559:4579](∅→∅),
[9.4559]→[9.4559:4579](∅→∅) replacement in pijul/src/commands/identity.rs at line 510
[9.4579]→[12.3373:3373](∅→∅),
[9.4579]→[12.3373:3373](∅→∅) replacement in libpijul/src/working_copy/mod.rs at line 51
[8.1098]→[8.1098:1189](∅→∅) − fn touch(&self, _name: &str, time: std::time::SystemTime) -> Result<(), Self::Error> {
+ fn touch(&self, _name: &str, _time: std::time::SystemTime) -> Result<(), Self::Error> {