From 0cab05c581536c5ca2ac102625cd58d781f67e54 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 14 Jan 2024 17:16:28 +0900 Subject: [PATCH] =?UTF-8?q?PublicPath=E3=81=ABroot=E3=82=92=E8=BF=94?= =?UTF-8?q?=E3=81=99=E3=83=A1=E3=82=BD=E3=83=83=E3=83=89=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/src/main/java/one/nem/lacerta/model/PublicPath.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/model/src/main/java/one/nem/lacerta/model/PublicPath.java b/model/src/main/java/one/nem/lacerta/model/PublicPath.java index 980a3a9d..47f68ca7 100644 --- a/model/src/main/java/one/nem/lacerta/model/PublicPath.java +++ b/model/src/main/java/one/nem/lacerta/model/PublicPath.java @@ -65,4 +65,10 @@ public class PublicPath { public String getStringPath() { return String.join("/", path); } + + public PublicPath getRoot() { + PublicPath root = new PublicPath(); + root.add("/"); + return root; + } }