From 45cac7967f9bae45f1bad5ac5ca2beba0fdf8282 Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Mon, 16 Dec 2024 22:06:50 +0100 Subject: [PATCH] initial readme and API update --- README.md | 2 ++ api/xemantic-ai-file-magic.api | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 01b8888..a1dc740 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xemantic-ai-file-magic Detecting file content type before submitting binary content to LLM + +> [!NOTICE] documentation will follow diff --git a/api/xemantic-ai-file-magic.api b/api/xemantic-ai-file-magic.api index 7ed3fa6..7b7004a 100644 --- a/api/xemantic-ai-file-magic.api +++ b/api/xemantic-ai-file-magic.api @@ -16,13 +16,13 @@ public final class com/xemantic/ai/file/magic/ContentType$Companion { } public final class com/xemantic/ai/file/magic/ContentTypeKt { + public static final fun detectContentType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/ContentType; public static final fun detectContentType ([B)Lcom/xemantic/ai/file/magic/ContentType; public static final fun startsWith ([B[Ljava/lang/String;)Z public static final fun startsWith-VU-fvBY ([B[B)Z } public final class com/xemantic/ai/file/magic/PathsKt { - public static final fun detectContentType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/ContentType; public static final fun readText (Lkotlinx/io/files/Path;)Ljava/lang/String; public static final fun toBytes (Lkotlinx/io/files/Path;)[B }