Rework for single refreshes

This commit is contained in:
crschnick
2025-05-24 09:55:31 +00:00
parent 15946eec86
commit 3308189951
5 changed files with 47 additions and 2 deletions
@@ -79,7 +79,7 @@ public interface ShellDialect {
String assembleCommand(String command, Map<String, String> variables);
Stream<FileEntry> listFiles(FileSystem fs, ShellControl control, String dir) throws Exception;
Stream<FileEntry> listFiles(FileSystem fs, ShellControl control, String path, boolean sub) throws Exception;
Stream<String> listRoots(ShellControl control) throws Exception;
@@ -40,6 +40,8 @@ public interface FileSystem extends Closeable, AutoCloseable {
void directoryAccessible(FilePath file) throws Exception;
Optional<FileEntry> getFileInfo(FilePath file) throws Exception;
Stream<FileEntry> listFiles(FilePath file) throws Exception;
default List<FileEntry> listFilesRecursively(FilePath file) throws Exception {