Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

refactor: move files to root level #1150

Merged
merged 1 commit into from
Nov 12, 2019
Merged

refactor: move files to root level #1150

merged 1 commit into from
Nov 12, 2019

Conversation

alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Nov 8, 2019

Moves remaining files that contain root level commands to the root of the src directory. This makes it easier for new contributors to find things.

It also renames the files-mfs dir to files to reflect the fact that it lives in the "files" namespace currently.

BREAKING CHANGE: files in src/files-regular have moved to src. The src/files-mfs directory has been renamed to src/files. If you were previously requiring files from these directories e.g. require('ipfs-http-client/src/files-regular/add') then please be aware that they have moved.

Moves remaining files that contain root level commands to the root of the src directory. This makes it easier for new contributors to find things.

It also renames the `files-mfs` dir to `files` to reflect the fact that it lives in the "files" namespace currently.

BREAKING CHANGE: files in `src/files-regular` have moved to `src`. The `src/files-mfs` directory has been renamed to `src/files`. If you were previously requiring files from these directories e.g. `require('ipfs-http-client/src/files-regular/add')` then please be aware that they have moved.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@alanshaw
Copy link
Contributor Author

@hugomrdias @achingbrain any chance you can review these changes?

alanshaw pushed a commit that referenced this pull request Nov 12, 2019
depends on:

* [ ] #1150

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@alanshaw alanshaw merged commit 559a97d into master Nov 12, 2019
@alanshaw alanshaw deleted the refactor/move-to-root branch November 12, 2019 11:15
alanshaw pushed a commit that referenced this pull request Nov 12, 2019
depends on:

* [ ] #1150

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
alanshaw pushed a commit that referenced this pull request Nov 12, 2019
* refactor: convert block API to async/await

depends on:

* [ ] #1150

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* feat: support the version param

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* refactor: convert DAG API to async/await

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* fix: add util to convert a single buffer to a form data object

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>

* fix: exported function
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants