pub struct ForgeManager { /* private fields */ }Implementations§
Source§impl ForgeManager
impl ForgeManager
pub fn new(config: &Config) -> Result<Self, HttpClientError>
pub fn list_forges(&self) -> Vec<(String, String)>
pub fn get_forge(&self, id: &str) -> Option<&Arc<dyn Forge>>
Sourcepub async fn pin_github_action(
&self,
action: &str,
tag: Option<&str>,
) -> Result<ActionPin, ForgeError>
pub async fn pin_github_action( &self, action: &str, tag: Option<&str>, ) -> Result<ActionPin, ForgeError>
Resolve a GitHub Action (owner/repo) to a pinned commit SHA. When
tag is None, the latest stable (non-prerelease, non-draft) release
is used.
Auto Trait Implementations§
impl !RefUnwindSafe for ForgeManager
impl !UnwindSafe for ForgeManager
impl Freeze for ForgeManager
impl Send for ForgeManager
impl Sync for ForgeManager
impl Unpin for ForgeManager
impl UnsafeUnpin for ForgeManager
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