Struct azure_devops_rust_api::git::items::Client
source · pub struct Client(_);Implementations§
source§impl Client
impl Client
sourcepub fn get(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
path: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get( &self, organization: impl Into<String>, repository_id: impl Into<String>, path: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get Item Metadata and/or Content for a single item. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn’t apply to zipped content, which is always returned as a download.
Arguments:
organization: The name of the Azure DevOps organization.repository_id: The name or ID of the repository.path: The item path.project: Project ID or project name
sourcepub fn list(
&self,
organization: impl Into<String>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn list( &self, organization: impl Into<String>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Get Item Metadata and/or Content for a collection of items. The download parameter is to indicate whether the content should be available as a download or just sent as a stream in the response. Doesn’t apply to zipped content which is always returned as a download.
Arguments:
organization: The name of the Azure DevOps organization.repository_id: The name or ID of the repository.project: Project ID or project name
sourcepub fn get_items_batch(
&self,
organization: impl Into<String>,
body: impl Into<GitItemRequestData>,
repository_id: impl Into<String>,
project: impl Into<String>
) -> RequestBuilder
pub fn get_items_batch( &self, organization: impl Into<String>, body: impl Into<GitItemRequestData>, repository_id: impl Into<String>, project: impl Into<String> ) -> RequestBuilder
Post for retrieving a creating a batch out of a set of items in a repo / project given a list of paths or a long path
Arguments:
organization: The name of the Azure DevOps organization.body: Request data attributes: ItemDescriptors, IncludeContentMetadata, LatestProcessedChange, IncludeLinks. ItemDescriptors: Collection of items to fetch, including path, version, and recursion level. IncludeContentMetadata: Whether to include metadata for all items LatestProcessedChange: Whether to include shallow ref to commit that last changed each item. IncludeLinks: Whether to include the _links field on the shallow references.repository_id: The name or ID of the repositoryproject: Project ID or project name