diff options
author | Edoardo La Greca | 2025-08-10 15:23:56 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-10 15:23:56 +0200 |
commit | 4e1e83f3b9ab586ad87c3d9e2016af5bf2f0035b (patch) | |
tree | 706b29909678973a30181e42b3383778abf64bd9 /src/main/kotlin/ProtocolTranslator.kt | |
parent | 13a4b95ca0bdd402cf9a06989cb8397e3d0bf9ed (diff) |
implement remove
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
-rw-r--r-- | src/main/kotlin/ProtocolTranslator.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index 6747e98..5148120 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -138,8 +138,12 @@ interface ProtocolTranslator { /** * Remove a file from a server. + * + * @param fid The FID of the file to remove. + * @throws except.InvalidMessageException if the received message is invalid. + * @throws except.RErrorException if the received message is an R-error message. */ - fun remove(path: String) + fun remove(fid: UInt) /** * Inquire file attributes. |