create/remove実装

This commit is contained in:
ろむねこ 2023-12-21 15:08:32 +09:00 committed by r-ca
parent 98232dc403
commit 85a1f8a505
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -71,12 +71,12 @@ public class FileManagerImpl implements FileManager {
}
@Override
public void createDir() {
public void createDir(String dirName) {
currentDir.resolve(dirName).toFile().mkdir(); // TODO-rca: エラーハンドリング
}
@Override
public void removeDir() {
public void removeDir(String dirName) {
currentDir.resolve(dirName).toFile().delete(); // TODO-rca: エラーハンドリング
}
}