Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Supports local shorthands on Android https://github.com/siyuan-note/siyuan/issues/14414

Daniel33ed82526c45
diff --git a/kernel/mobile/kernel.go b/kernel/mobile/kernel.go
index 4906a3ab81..05b88cca65 100644
--- a/kernel/mobile/kernel.go
+++ b/kernel/mobile/kernel.go
@@ -279,3 +279,15 @@ func SetTimezone(container, appDir, timezoneID string) {
func DisableFeature(feature string) {
util.DisableFeature(feature)
}
+
+func FilepathBase(path string) string {
+ return filepath.Base(path)
+}
+
+func FilterUploadFileName(name string) string {
+ return util.FilterUploadFileName(name)
+}
+
+func AssetName(name string) string {
+ return util.AssetName(name)
+}