From 734f6eb41d56d802df61a930251235facea8e3c5 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, 21 Dec 2023 15:12:21 +0900 Subject: [PATCH] =?UTF-8?q?Module=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/file/module/FileManagerModule.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/src/main/java/one/nem/lacerta/source/file/module/FileManagerModule.java b/source/src/main/java/one/nem/lacerta/source/file/module/FileManagerModule.java index 4b920538..68a35913 100644 --- a/source/src/main/java/one/nem/lacerta/source/file/module/FileManagerModule.java +++ b/source/src/main/java/one/nem/lacerta/source/file/module/FileManagerModule.java @@ -1,4 +1,20 @@ package one.nem.lacerta.source.file.module; +import java.nio.file.Path; + +import dagger.assisted.Assisted; +import dagger.assisted.AssistedInject; + public class FileManagerModule { + + private final Path rootDir; + + @AssistedInject + public FileManagerModule(@Assisted Path rootDir) { + this.rootDir = rootDir; + } + + public Path getRootDir() { + return rootDir; + } }