1 package net.pterodactylus.fcp.quelaton;
4 import java.util.Optional;
5 import java.util.function.Consumer;
7 import net.pterodactylus.fcp.Key;
8 import net.pterodactylus.fcp.RequestProgress;
11 * FCP command that inserts a directory from the filesystem local to the node into Freenet.
13 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
15 public interface ClientPutDiskDirCommand {
17 ClientPutDiskDirCommand onProgress(Consumer<RequestProgress> requestProgressConsumer);
19 WithUri fromDirectory(File directory);
23 Executable<Optional<Key>> uri(String uri);