Skip to content

input-output-hk/fs-sim

fs-sim

handbook Hackage Version Hackage Version Haskell CI Documentation CI Haddocks

The fs-sim package provides a filesystem simulator that facilitates simulation of errors and file corruption. This simulator is specially useful for testing purposes, and works well in conjunction with io-sim.

The fs-api package provides an abstract interface to filesystems. Code that is written using this interface can be run against the built-in file system (required to be in IO), a simulated file system as provided by fs-sim, or any other implementation of a file system.

Note on GHC compatibility

fs-sim and fs-api are unlikely to work with GHC versions before ghc-8.10.7. See the tested-with fields in fs-api.cabal and fs-sim.cabal for the GHC versions that we test with.

Credits

Previously, the packages in this repository lived in the ouroboros-network repository. This commit marks the migration of the packages from ouroboros-network to the current repository. Since the commit history was not carried over to this repository, we give credit for the packages to the original authors and frequent contributors, which include:

  • Thomas Winant (@mrBliss)
  • Edsko de Vries (@edsko)
  • Kostas Dermentzis (@kderme)
  • Alfredo di Napoli (@adinapoli-iohk)