Struct dagger_sdk::GitRef
source · pub struct GitRef {
pub proc: Option<Arc<Child>>,
pub selection: Selection,
pub graphql_client: DynGraphQLClient,
}Fields§
§proc: Option<Arc<Child>>§selection: Selection§graphql_client: DynGraphQLClientImplementations§
source§impl GitRef
impl GitRef
sourcepub fn tree(&self) -> Directory
pub fn tree(&self) -> Directory
The filesystem tree at this ref.
Arguments
opt- optional argument, see inner type for documentation, use_opts to use
sourcepub fn tree_opts<'a>(&self, opts: GitRefTreeOpts<'a>) -> Directory
pub fn tree_opts<'a>(&self, opts: GitRefTreeOpts<'a>) -> Directory
The filesystem tree at this ref.
Arguments
opt- optional argument, see inner type for documentation, use_opts to use
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GitRef
impl !Send for GitRef
impl !Sync for GitRef
impl Unpin for GitRef
impl !UnwindSafe for GitRef
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