Skip to content

Commit

Permalink
style: remove forgotten commented out code
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantinos Maninakis <maninak@protonmail.com>
  • Loading branch information
maninak committed Jul 20, 2024
1 parent 8068a7a commit 8005640
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/helpers/patchMutators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,6 @@ export type PatchMutatorResult =
| { outcome: 'success'; didAnnounce: boolean }
| { outcome: 'failure'; errorMsg: string }

/**
* Performs mutation of the patch's title and description on Radicle. Effectively
* it's editing the first patch revision.
*
* @returns An object with the outcome of the editing operation plus additional details
* when available
*/
// export function mutatePatchTitleAndDescr(
// patchId: Patch['id'],
// newTitle: string,
// newDescr: string,
// timeoutSeconds?: number,
// ): PatchMutatorResult {
// return execPatchMutation(
// ['edit', patchId, '--message', newTitle, '--message', newDescr],
// timeoutSeconds,
// )
// }

// export function mutatePatchStatusToArchived(patch: Patch, timeoutSeconds?: number) {
// return execPatchMutation(['archive', patch.id], timeoutSeconds)
// }

export function execPatchMutation(
execRadArgs: NonNullable<Parameters<typeof execRad>['0']>,
timeoutSeconds?: number,
Expand Down

0 comments on commit 8005640

Please sign in to comment.