summaryrefslogtreecommitdiff
path: root/src/main/kotlin/ProtocolTranslator.kt
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-10 16:49:28 +0200
committerEdoardo La Greca2025-08-10 16:49:28 +0200
commit46dd60cf23faaa9892ed802e3e7cbc630d648ae4 (patch)
tree4abe4ae3bbb5200fffa96c7f5fac379394f67588 /src/main/kotlin/ProtocolTranslator.kt
parent5aff4f23638ee0968f9cc1bb5e9c397fe6b5cc0e (diff)
implement stat
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
-rw-r--r--src/main/kotlin/ProtocolTranslator.kt6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt
index 5148120..1ec4379 100644
--- a/src/main/kotlin/ProtocolTranslator.kt
+++ b/src/main/kotlin/ProtocolTranslator.kt
@@ -147,8 +147,12 @@ interface ProtocolTranslator {
/**
* Inquire file attributes.
+ *
+ * @param fid The FID of the file to inquire.
+ * @return All the file attributes of the file associated with [fid].
+ *
*/
- fun stat(path: String)
+ fun stat(fid: UInt): Stat
/**
* Change file attributes.