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

fix(init): TargetDir for init, can be absolute, is created if needed #1574

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

dustmop
Copy link
Contributor

@dustmop dustmop commented Nov 6, 2020

Prior to this change, lib.InitDataset would take two parameters, Dir which would need to exist already, and Mkdir which would be created but could only be a single directory name instead of a relative path. Fix this problem, and also add multiple tests, and cleanup some TODOs.

Prior to this change, lib.InitDataset would take two parameters, Dir which would need to exist already, and Mkdir which would be created but could only be a single directory name instead of a relative path. Fix this problem, and also add multiple tests, and cleanup some TODOs.
@dustmop dustmop requested a review from b5 November 6, 2020 14:50
@dustmop
Copy link
Contributor Author

dustmop commented Nov 6, 2020

Also changes the allowed parameters for the api's init method. It looks like Desktop is not using this currently, so the old form values are being dropped.

@dustmop dustmop self-assigned this Nov 6, 2020
@dustmop dustmop added the FSI file system integration label Nov 6, 2020
@b5
Copy link
Member

b5 commented Nov 9, 2020

cc @ramfox for the Desktop API issue

Copy link
Member

@b5 b5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dustmop dustmop merged commit 878b7c4 into master Nov 9, 2020
@dustmop dustmop deleted the qri-init-abs branch November 9, 2020 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FSI file system integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants