Module実装

This commit is contained in:
ろむねこ 2023-12-21 15:12:21 +09:00 committed by r-ca
parent 4f762627cf
commit 734f6eb41d
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -1,4 +1,20 @@
package one.nem.lacerta.source.file.module; package one.nem.lacerta.source.file.module;
import java.nio.file.Path;
import dagger.assisted.Assisted;
import dagger.assisted.AssistedInject;
public class FileManagerModule { public class FileManagerModule {
private final Path rootDir;
@AssistedInject
public FileManagerModule(@Assisted Path rootDir) {
this.rootDir = rootDir;
}
public Path getRootDir() {
return rootDir;
}
} }