Skip to content

Conversation

recursion-ninja
Copy link
Contributor

There are times when it is advantageous to assert that a file "must already exist" on the file system and if it does not exist, a FsResourceDoesNotExist exception ought to be thrown. To enable these semantics through the API of the fs-api/fs-sim packages, I have added a MustExist constructor to the AllowExisting type.

@recursion-ninja recursion-ninja requested a review from a team as a code owner December 21, 2024 17:28
Copy link
Contributor

@jorisdral jorisdral left a comment

Choose a reason for hiding this comment

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

Thanks for the feature! Some suggestions below

@jorisdral
Copy link
Contributor

jorisdral commented Feb 18, 2025

I opened #97 with your additions so I could make some small changes

@jorisdral jorisdral closed this Feb 18, 2025
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