mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-05 20:13:23 -05:00
Exists checked a blob by opening and closing it. After the symlink check, one Lstat is enough. NewFS said it needs exclusive creation, but publication renames over an identical blob, which is harmless because the name is the hash. LinkTo on the filesystem store copies and never links; say so. Assisted-by: Claude Code:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>