From 80056407510f39b6997e67c13128f5e6f6f4f44c Mon Sep 17 00:00:00 2001 From: Konstantinos Maninakis Date: Sat, 20 Jul 2024 02:33:39 +0200 Subject: [PATCH] style: remove forgotten commented out code Signed-off-by: Konstantinos Maninakis --- src/helpers/patchMutators.ts | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/src/helpers/patchMutators.ts b/src/helpers/patchMutators.ts index b4228b7d..b3d560c3 100644 --- a/src/helpers/patchMutators.ts +++ b/src/helpers/patchMutators.ts @@ -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['0']>, timeoutSeconds?: number,