create/remove実装

This commit is contained in:
ろむねこ 2023-12-21 15:08:32 +09:00
parent 7c0d82f25c
commit a0c4718b3a
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

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