Skip to content

Commit

Permalink
added interface method
Browse files Browse the repository at this point in the history
  • Loading branch information
sondermanish committed Dec 13, 2024
1 parent 90d6fb8 commit 826eb18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ Mono<String> fetchRemoteChanges(
ArtifactType artifactType,
GitType gitType,
RefType refType);

Mono<? extends Artifact> discardChanges(String branchedArtifactId, ArtifactType artifactType, GitType gitType);
}
Original file line number Diff line number Diff line change
Expand Up @@ -1114,12 +1114,13 @@ private Mono<? extends Artifact> updateArtifactWithGitMetadataGivenPermission(
}

/**
*
* Resets the artifact to last commit, all uncommitted changes are lost in the process.
* @param branchedArtifactId : id of the branchedArtifact
* @param artifactType type of the artifact
* @param gitType
* @return
* @param gitType what is the intended implementation type
* @return : a publisher of an artifact.
*/
@Override
public Mono<? extends Artifact> discardChanges(
String branchedArtifactId, ArtifactType artifactType, GitType gitType) {

Expand Down

0 comments on commit 826eb18

Please sign in to comment.