Trait scutiger_lfs::backend::Lock
source · [−]pub trait Lock {
fn unlock(&self) -> Result<(), Error>;
fn id(&self) -> String;
fn path(&self) -> &Bytes;
fn formatted_timestamp(&self) -> String;
fn ownername(&self) -> &str;
fn as_lock_spec(&self, owner_id: bool) -> Result<Vec<Bytes>, Error>;
fn as_arguments(&self) -> Vec<Bytes> { ... }
}
Required Methods
source
fn formatted_timestamp(&self) -> String
Provided Methods
source