Skip to content

Commit

Permalink
Documentation update for fs-api
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisdral committed Jul 17, 2024
1 parent ac14fee commit 5a79bb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fs-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ data HasFS m h = HasFS {

Code that is written using this interface can be run against any implementation
of a file system. The `System.FS.IO` module provides a function for initialising
a `HasFS` interface for the built-in filesystem.
a `HasFS` interface for the real filesystem.

```haskell
ioHasFS :: MonadIO m => MountPoint -> HasFS m HandleIO
ioHasFS :: (MonadIO m, PrimState IO ~ PrimState m) => MountPoint -> HasFS m HandleIO
```

Note that `ioHasFS` requires some context in the form of a `MountPoint`: the
Expand Down
4 changes: 2 additions & 2 deletions fs-api/fs-api.cabal
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cabal-version: 3.0
name: fs-api
version: 0.2.0.1
synopsis: API for file systems
description: API for file systems.
synopsis: Abstract interface for the file system
description: Abstract interface for the file system.
license: Apache-2.0
license-files:
LICENSE
Expand Down

0 comments on commit 5a79bb8

Please sign in to comment.