Skip to main content

Module platform

Module platform 

Source
Expand description

Hosting platform adapters

Provides a unified interface for GitHub, GitLab, and Azure DevOps.

Re-exports§

pub use traits::HostingPlatform;
pub use types::AllowedMergeMethods;
pub use types::CheckState;
pub use types::CheckStatusDetails;
pub use types::MergeMethod;
pub use types::PRBase;
pub use types::PRCreateResult;
pub use types::PRHead;
pub use types::PRReview;
pub use types::PRState;
pub use types::ParsedRepoInfo;
pub use types::PullRequest;
pub use types::ReleaseResult;
pub use types::StatusCheck;
pub use types::StatusCheckResult;

Modules§

azure
Azure DevOps platform adapter
bitbucket
Bitbucket platform adapter
github
GitHub platform adapter
gitlab
GitLab platform adapter
rate_limit
Rate limiting detection and handling for platform APIs
traits
Hosting platform trait definition
types
Shared types for hosting platforms

Functions§

detect_platform
Detect platform type from a git URL
get_platform_adapter
Get a platform adapter for the given platform type