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: refactor local function to use AsRef, simplify write arguments #48

Merged
merged 3 commits into from
May 2, 2023

Conversation

shadows-withal
Copy link
Contributor

Changes the signature of those two functions to not explicitly take a filename and a dest_dir argument, instead now taking a dest_path argument, from which we infer everything else.

These two functions aren't currently in use in axo code (outside of axodotdev/cargo-dist#229), so changing the signatures should be fine, at least for our use, as long as we mark the change as breaking correspondingly.

tests/local_new.rs Outdated Show resolved Hide resolved
src/local.rs Outdated Show resolved Hide resolved
@shadows-withal shadows-withal changed the title feat: simplify write_new{_all} signature feat: refactor local function to use AsRef, simplify write arguments May 2, 2023
@shadows-withal shadows-withal merged commit 9e45305 into main May 2, 2023
@mistydemeo mistydemeo deleted the feat/local-func-sigs branch September 14, 2023 22:29
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.

2 participants