From 46dd60cf23faaa9892ed802e3e7cbc630d648ae4 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Sun, 10 Aug 2025 16:49:28 +0200 Subject: implement stat --- src/main/kotlin/ProtocolTranslator.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/ProtocolTranslator.kt') 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. -- cgit v1.2.3