mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-13 13:01:02 +00:00
Rework for single refreshes
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user