[PR #1186] [MERGED] fix cross device rename #41745

Closed
opened 2026-04-24 21:34:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1186
Author: @mxyng
Created: 11/17/2023
Status: Merged
Merged: 11/18/2023
Merged by: @mxyng

Base: mainHead: mxyng/copy-blob


📝 Commits (1)

📊 Changes

1 file changed (+7 additions, -7 deletions)

View changed files

📝 server/routes.go (+7 -7)

📄 Description

os.Rename is only intended for files on the same filesystem. Instead of messing around with that, store the temporary file in the blobs directory

resolves #1181


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1186 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 11/17/2023 **Status:** ✅ Merged **Merged:** 11/18/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/copy-blob` --- ### 📝 Commits (1) - [`c6e6c8e`](https://github.com/ollama/ollama/commit/c6e6c8ee7e86b774436a18e72bb3b5f1c495ae43) fix cross device rename ### 📊 Changes **1 file changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `server/routes.go` (+7 -7) </details> ### 📄 Description `os.Rename` is only intended for files on the same filesystem. Instead of messing around with that, store the temporary file in the blobs directory resolves #1181 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 21:34:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#41745