Skip to content

Conversation

@rklaehn
Copy link
Collaborator

@rklaehn rklaehn commented Sep 17, 2025

Description

We don't want to move, but to copy in that case.
We also update the db, but limit the max number of external paths to MAX_EXTERNAL_PATHS

This fixes a regression from blobs 0.35 regarding ExportMode::TryReference

Fixes n0-computer/sendme#103

Breaking Changes

None

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

We don't want to move the file from an external location, but copy if external!
We don't want to move, but to copy in that case.
We also update the db, but limit the max number of external paths to MAX_EXTERNAL_PATHS

This fixes a regression from blobs 0.35 regarding ExportMode::TryReference
@github-actions
Copy link

github-actions bot commented Sep 17, 2025

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh-blobs/pr/149/docs/iroh_blobs/

Last updated: 2025-09-17T08:00:06Z

@n0bot n0bot bot added this to iroh Sep 17, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Sep 17, 2025
@rklaehn rklaehn merged commit 4d8cade into main Sep 17, 2025
25 checks passed
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in iroh Sep 17, 2025
@rklaehn rklaehn deleted the export-try-reference-bugfix branch September 17, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[BUG] directory contains files with the same hash value

3 participants