From 801d7e07376a7aa9d4a7b72e8a8a06f3310454bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 14:28:34 +0900 Subject: [PATCH] Interface WIP --- .../one/nem/lacerta/source/jgit/ManageRepo.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/jgit/ManageRepo.java b/source/src/main/java/one/nem/lacerta/source/jgit/ManageRepo.java index 4e94197b..8dd4dbfa 100644 --- a/source/src/main/java/one/nem/lacerta/source/jgit/ManageRepo.java +++ b/source/src/main/java/one/nem/lacerta/source/jgit/ManageRepo.java @@ -1,4 +1,17 @@ package one.nem.lacerta.source.jgit; +import org.eclipse.jgit.lib.Repository; + public interface ManageRepo { + + // リポジトリ取得 + Repository getRepository(String id); + // リポジトリ作成 + Repository createRepository(String id); + // リポジトリ削除 + void deleteRepository(String id); + // リポジトリ存在確認 + boolean repositoryExists(String id); + + }