[PR #12347] simplify expand path #12530

Open
opened 2025-11-12 16:38:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12347
Author: @mxyng
Created: 9/19/2025
Status: 🔄 Open

Base: mainHead: mxyng/expand-path


📝 Commits (1)

📊 Changes

3 files changed (+94 additions, -156 deletions)

View changed files

parser/expandpath_test.go (+0 -123)
📝 parser/parser.go (+32 -33)
📝 parser/parser_test.go (+62 -0)

📄 Description

reduce complexity in expandPath by leverage more filepath functions and removing code specific to testing
merge windows and non-windows tests


🔄 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/12347 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/19/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `mxyng/expand-path` --- ### 📝 Commits (1) - [`220a0da`](https://github.com/ollama/ollama/commit/220a0da37e1e47315794be02c6263d0a2a7cce36) simplify expand path ### 📊 Changes **3 files changed** (+94 additions, -156 deletions) <details> <summary>View changed files</summary> ➖ `parser/expandpath_test.go` (+0 -123) 📝 `parser/parser.go` (+32 -33) 📝 `parser/parser_test.go` (+62 -0) </details> ### 📄 Description reduce complexity in `expandPath` by leverage more filepath functions and removing code specific to testing merge windows and non-windows tests --- <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 2025-11-12 16:38:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12530