-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* IS-401: Write extend repo service to support delete files folders (#894) * feat: base code for delete file * feat: add base delete directory steps * feat: refactor into one delete function * feat: split RepoService delete into two * fix: remove unused imports * feat: update return types * fix: BDS tests * feat: tests for delete in RepoService * fix: remove update tree function for ggs flow * feat: add tests for GFS * feat: add tests for delete * feat: add check for latest commit * fix: uncomment push * fix: add log * feat: add tests * Feat/is 399 ggs create file (#892) * refactor: safeExistsSync * chore: upgrade js-base64 * feat: add create methods * test: add tests * refactor: remove safeExistsSync and use getFilePathStats instead * test: add tests for rollback * feat: push on creation * chore: update missing import * chore: change to pass arguments directly * chore: replace return type with GitCommitResult * fix: remove unnecessary maps * fix: swap returned error on creating file * chore: remove unused import * fix: handle stats from retrieving directory info * nit: swap return from empty string to boolean * chore: improve log statement * fix: update assertion of error * feat: add optional force param to push * feat: add rollback functionality for whitelisted ggs sites * fix: rebase errors * fix: use false as default for isForce --------- Co-authored-by: Harish <harish@open.gov.sg>
- Loading branch information
1 parent
c4a9ab6
commit 115a98a
Showing
8 changed files
with
654 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.