mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
フォルダを作成できるように
This commit is contained in:
2 files changed
+38
-4
No files matched your search
@@ -157,12 +157,11 @@ public class LacertaLibraryImpl implements LacertaLibrary {
|
||||
} else {
|
||||
publicPath = new PublicPath().resolve(parentFolderEntity.publicPath);
|
||||
}
|
||||
publicPath = publicPath.resolve(name);
|
||||
|
||||
FolderEntity folderEntity = new FolderEntity();
|
||||
folderEntity.id = UUID.randomUUID().toString();
|
||||
folderEntity.name = name;
|
||||
folderEntity.publicPath = publicPath.toString();
|
||||
folderEntity.publicPath = publicPath.getStringPath();
|
||||
database.folderDao().insert(folderEntity);
|
||||
return folderEntity.id;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user