Skip to content

Conversation

luxass
Copy link
Member

@luxass luxass commented Oct 5, 2025

🔗 Linked issue

resolves #299

📚 Description

luxass added 3 commits October 6, 2025 00:40
…operations

* Updated `read`, `write`, `listdir`, `mkdir`, `exists`, and `rm` methods to include `basePath` parameter.
* This change improves the flexibility of file operations by allowing base path resolution.
* Removed unnecessary basePath option from `vscodeFSBridge` setup.
* Updated methods to accept basePath as a parameter instead of relying on the bridge's options.
* Improved clarity and consistency in file operations.
* Updated `read`, `exists`, `listdir`, `mkdir`, `rm`, and `write` methods to accept `basePath` as a parameter.
* Ensured consistent path resolution across both HTTP and Node file system bridges.
* Removed unnecessary basePath option from `createNodeUCDStore` function.
Copy link

changeset-bot bot commented Oct 5, 2025

⚠️ No Changeset found

Latest commit: aff8555

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

coderabbitai bot commented Oct 5, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch introduce-bridge-basepath

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added pkg: ucd-store Changes related to the UCD Store package. pkg: fs-bridge Changes related to the FS Bridge package. labels Oct 5, 2025
Copy link
Contributor

github-actions bot commented Oct 5, 2025

🌏 Preview Deployments

Application Status Preview URL
API ⏭️ Skipped N/A
Website ⏭️ Skipped N/A
Documentation ⏭️ Skipped N/A

Built from commit: aff85559edf1e2178794b065b82cfef8871d3f66


🤖 This comment will be updated automatically when you push new commits to this PR.

@luxass luxass changed the title refactor(FileSystemBridgeOperations): add basePath parameter to file … refactor(fs-bridge, ucd-store): add basePath to operations Oct 5, 2025
luxass added 7 commits October 6, 2025 00:54
* Removed redundant `basePath` parameter from `NodeFileSystemBridge`.
* Updated file system operations to consistently use `basePath` for path resolution.
* Improved clarity and maintainability of the code by ensuring all file operations reference the correct base path.
* Removed unnecessary `basePath` usage in file path joins across `clean`, `mirror`, and `repair` functions.
* Updated tests to reflect changes in file path handling, ensuring consistency in file system operations.
* Improved readability and maintainability of the codebase by streamlining path management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: fs-bridge Changes related to the FS Bridge package. pkg: ucd-store Changes related to the UCD Store package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Architecture: Dual basePath problem between fs-bridge and ucd-store

1 participant