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
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.
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.