foundry-rs / forge-std

Forge Standard Library is a collection of helpful contracts for use with forge and foundry. It leverages forge's cheatcodes to make writing tests easier and faster, while improving the UX of cheatcodes. For more in-depth usage examples checkout the tests.
Apache License 2.0
850 stars 335 forks source link

Make `isDir` and `isFile` views to align with the rest of the fs cheats #631

Closed iainnash closed 2 weeks ago

iainnash commented 2 weeks ago

This updates the Vm.sol file to have a few more view functions marked as views.

This allows for code to be more organized for deployment / testing libraries where not all functions have to be write functions and can be further organized as view / pure functions when needed.

iainnash commented 2 weeks ago

Realized this file is auto-generated, closing for now.