Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Doc::import_file and Doc::export_file #1793

Merged
merged 10 commits into from
Nov 15, 2023
Merged

Conversation

ramfox
Copy link
Contributor

@ramfox ramfox commented Nov 10, 2023

Description

closes #1781

canonicalize_path:

There is now a canonicalized_path_to_string method that takes a path (that it expects to be canonicalized already) and turns it into a string.

What was previously canonicalize_path is now renamed to relative_canonicalized_path_to_string, and calls canonicalized_path_to_string, with the must_be_relative param set to true

@ramfox ramfox added the c-api iroh-api crate issues label Nov 10, 2023
@ramfox ramfox added this to the v0.11.0 milestone Nov 10, 2023
@ramfox ramfox requested review from Frando and rklaehn November 10, 2023 01:38
@ramfox ramfox self-assigned this Nov 10, 2023
iroh/src/client.rs Outdated Show resolved Hide resolved
iroh/src/client.rs Outdated Show resolved Hide resolved
iroh/src/util/fs.rs Outdated Show resolved Hide resolved
iroh/src/util/fs.rs Outdated Show resolved Hide resolved
iroh/src/client.rs Show resolved Hide resolved
iroh/src/client.rs Show resolved Hide resolved
iroh/src/node.rs Outdated Show resolved Hide resolved
iroh/src/node.rs Outdated Show resolved Hide resolved
iroh/src/util/fs.rs Outdated Show resolved Hide resolved
iroh/src/util/fs.rs Outdated Show resolved Hide resolved
@ramfox ramfox added this pull request to the merge queue Nov 15, 2023
Merged via the queue into main with commit fe7fc50 Nov 15, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-api iroh-api crate issues
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Import & export files and directories directly into docs
4 participants