Skip to content

Fix darwin reflink fallback build#64

Merged
mrjf merged 2 commits into
mainfrom
copilot/internal-utils-reflink-fix
May 21, 2026
Merged

Fix darwin reflink fallback build#64
mrjf merged 2 commits into
mainfrom
copilot/internal-utils-reflink-fix

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

Description

internal/utils/reflink did not compile on darwin because macOS was excluded from both platform implementation files. This routes darwin through the existing non-Linux fallback path.

  • Platform selection
    • reflink_other.go now builds for all non-Linux targets, including darwin.
//go:build !linux

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass
  • Added tests for new functionality (if applicable)

Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build failure on darwin due to missing implementations Fix darwin reflink fallback build May 19, 2026
Copilot AI requested a review from mrjf May 19, 2026 15:13
Copilot finished work on behalf of mrjf May 19, 2026 15:15
@mrjf mrjf marked this pull request as ready for review May 21, 2026 05:18
@mrjf mrjf merged commit ef30ee4 into main May 21, 2026
43 checks passed
@mrjf mrjf deleted the copilot/internal-utils-reflink-fix branch May 21, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

internal/utils/reflink: build fails on darwin (no reflink_darwin.go)

2 participants