Skip to content

[FEAT]: Return RepositoryContentChangeSet from RepositoryContentsClient.DeleteFile #3016

@dylanlerch

Description

@dylanlerch

Describe the need

The CreateFile and UpdateFile methods in RepositoryContentsClient return a type of Task<RepositoryContentChangeSet>, but DeleteFile does not (it only returns Task).

The delete a file endpoint returns the same response structure as the create or update file contents endpoint (with null content), so the DeleteFile methods should also return Task<RepositoryContentChangeSet>.

SDK Version

No response

API Version

No response

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: FeatureNew feature or request

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions