diff options
author | Edoardo La Greca | 2025-08-10 16:49:28 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-10 16:49:28 +0200 |
commit | 46dd60cf23faaa9892ed802e3e7cbc630d648ae4 (patch) | |
tree | 4abe4ae3bbb5200fffa96c7f5fac379394f67588 /src/main/kotlin/ProtocolTranslator.kt | |
parent | 5aff4f23638ee0968f9cc1bb5e9c397fe6b5cc0e (diff) |
implement stat
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 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. |