mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
パッケージ名変更など
This commit is contained in:
parent
1682e06d24
commit
6bc741d0b0
|
@ -7,4 +7,6 @@ public interface UtilsRepo {
|
||||||
Path getExternalFilesDirPath(String type);
|
Path getExternalFilesDirPath(String type);
|
||||||
|
|
||||||
Path getExternalFilesDirPath();
|
Path getExternalFilesDirPath();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
package one.nem.lacerta.source.jgit;
|
||||||
|
|
||||||
|
import org.eclipse.jgit.lib.Repository;
|
||||||
|
|
||||||
|
public class RepoUtils {
|
||||||
|
// Internal Utils
|
||||||
|
public static String getRepoName(Repository repo) {
|
||||||
|
return repo.getDirectory().getParentFile().getName();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -1,5 +0,0 @@
|
||||||
package one.nem.lacerta.source.repo;
|
|
||||||
|
|
||||||
public class RepoUtils {
|
|
||||||
// Internal Utils
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user