-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca900c5
commit a67671f
Showing
12 changed files
with
180 additions
and
9 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
cabal-version: 3.0 | ||
name: fs-api | ||
version: 0.2.0.1 | ||
synopsis: API for file systems | ||
description: API for file systems. | ||
license: Apache-2.0 | ||
license-files: | ||
LICENSE | ||
NOTICE | ||
|
||
copyright: 2019-2023 Input Output Global Inc (IOG) | ||
author: IOG Engineering Team | ||
maintainer: operations@iohk.io | ||
category: System | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
tested-with: GHC ==8.10 || ==9.2 || ==9.4 || ==9.6 | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/input-output-hk/fs-sim | ||
subdir: fs-api | ||
|
||
library | ||
hs-source-dirs: src | ||
|
||
if os(windows) | ||
hs-source-dirs: src-win32 | ||
|
||
else | ||
hs-source-dirs: src-unix | ||
|
||
exposed-modules: | ||
System.FS.API | ||
System.FS.API.Lazy | ||
System.FS.API.Strict | ||
System.FS.API.Types | ||
System.FS.CRC | ||
System.FS.IO | ||
System.FS.IO.Internal | ||
System.FS.IO.Internal.Handle | ||
Util.CallStack | ||
Util.Condense | ||
|
||
default-language: Haskell2010 | ||
build-depends: | ||
, base >=4.14 && <4.21 | ||
, bytestring >=0.10 && <0.13 | ||
, containers >=0.5 && <0.8 | ||
, deepseq | ||
, digest | ||
, directory >=1.3 && <1.4 | ||
, filepath >=1.4 && <1.5 | ||
, io-classes >=0.3 && <1.6 | ||
, text >=1.2 && <2.2 | ||
|
||
if os(windows) | ||
build-depends: Win32 >=2.6.1.0 | ||
|
||
else | ||
build-depends: | ||
, unix | ||
, unix-bytestring >=0.4.0 | ||
|
||
ghc-options: | ||
-Wall -Wcompat -Wincomplete-uni-patterns | ||
-Wincomplete-record-updates -Wpartial-fields -Widentities | ||
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
cabal-version: 3.0 | ||
name: fs-sim | ||
version: 0.2.1.1 | ||
synopsis: Simulated file systems | ||
description: Simulated file systems. | ||
license: Apache-2.0 | ||
license-files: | ||
LICENSE | ||
NOTICE | ||
|
||
copyright: 2019-2023 Input Output Global Inc (IOG) | ||
author: IOG Engineering Team | ||
maintainer: operations@iohk.io | ||
category: Testing | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
tested-with: GHC ==8.10 || ==9.2 || ==9.4 || ==9.6 || ==9.8 | ||
|
||
source-repository head | ||
type: git | ||
location: https://github.com/input-output-hk/fs-sim | ||
subdir: fs-sim | ||
|
||
library | ||
hs-source-dirs: src | ||
exposed-modules: | ||
System.FS.Sim.Error | ||
System.FS.Sim.FsTree | ||
System.FS.Sim.MockFS | ||
System.FS.Sim.Pure | ||
System.FS.Sim.STM | ||
System.FS.Sim.Stream | ||
|
||
default-language: Haskell2010 | ||
build-depends: | ||
, base >=4.14 && <4.20 | ||
, base16-bytestring | ||
, bytestring >=0.10 && <0.13 | ||
, containers >=0.5 && <0.7 | ||
, fs-api ^>=0.2 | ||
, io-classes >=0.3 && <1.6 | ||
, mtl | ||
, QuickCheck | ||
, strict-stm >=0.3 && <1.6 | ||
, text >=1.2 && <2.2 | ||
|
||
ghc-options: | ||
-Wall -Wcompat -Wincomplete-uni-patterns | ||
-Wincomplete-record-updates -Wpartial-fields -Widentities | ||
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages | ||
|
||
test-suite fs-sim-test | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
other-modules: | ||
Test.System.FS.Sim.FsTree | ||
Test.System.FS.StateMachine | ||
Test.Util.RefEnv | ||
|
||
default-language: Haskell2010 | ||
build-depends: | ||
, base | ||
, bifunctors | ||
, bytestring | ||
, containers | ||
, fs-api | ||
, fs-sim | ||
, generics-sop | ||
, pretty-show | ||
, QuickCheck | ||
, quickcheck-state-machine >=0.7.2 && <0.8 | ||
, random | ||
, tasty | ||
, tasty-hunit | ||
, tasty-quickcheck | ||
, temporary | ||
, text | ||
, tree-diff | ||
|
||
ghc-options: | ||
-Wall -Wcompat -Wincomplete-uni-patterns | ||
-Wincomplete-record-updates -Wpartial-fields -Widentities | ||
-Wredundant-constraints -Wmissing-export-lists -Wunused-packages | ||
-fno-ignore-asserts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"signatures":[{"keyid":"53a6bd1ae1845b1e27b8f8fff0a3d5893d7125334f47188020c6003f037e03f6","method":"ed25519","sig":"W6KfOaLnYHtunc0ObSHlVNQYYjr3BiEZW985lBaK1jvDBcgaZGSXQrbhdUosNSzGQbJufLqp6ZEFZUKCtgA5Cw=="},{"keyid":"b1811587323bab527d7de85759282f457b6f1c22479682713cae181cd8e1ae65","method":"ed25519","sig":"P5UeXOx5PtlIZc7Vrsw5iIHJrlE6CV/DuIGjwxKqJVd4I3/C7xneEcK0bJKtFCd5PeQLdY41M9EZYpNBnqSjCA=="}],"signed":{"_type":"Snapshot","expires":null,"meta":{"<repo>/01-index.tar":{"hashes":{"sha256":"04ec6c0006d65701f82bcc4a3e4b73a63d7a5476212b7f5c7d31e95427fe87a4"},"length":16056832},"<repo>/01-index.tar.gz":{"hashes":{"sha256":"17819b2d1a645b1bcc1078d9da79cdd618aa364e2eea4e774c0733c5c48fb1ca"},"length":2402441},"<repo>/mirrors.json":{"hashes":{"sha256":"982d7115c44ba61087d2764efbcdfa33bb16a8e9daa1e19d49b50bfe2bdff8d9"},"length":1246},"<repo>/root.json":{"hashes":{"sha256":"2ed435c078955d73330f32fd52aba3afd494984c808f7d96869916f2b4f75a3d"},"length":6337}},"version":1}} | ||
{"signatures":[{"keyid":"53a6bd1ae1845b1e27b8f8fff0a3d5893d7125334f47188020c6003f037e03f6","method":"ed25519","sig":"XtZafKmBnSeNXCCres7GoF1CDb9GZt4qOGzGE9FqojAC7n/ikBsqIaMLe7RwHnD6vJIijSRa8+6YWhzHrbIhDg=="},{"keyid":"b1811587323bab527d7de85759282f457b6f1c22479682713cae181cd8e1ae65","method":"ed25519","sig":"qlcQ/ha1opqeD6EM2Wk5jkdfoIBS6WmlhVXL3gsARnOhDTLAfYQN8K/ePPpf3K3T9yk+/z1/5phFJcwoHPzBBg=="}],"signed":{"_type":"Snapshot","expires":null,"meta":{"<repo>/01-index.tar":{"hashes":{"sha256":"b196f6df785ccd89da891acb40b790a7fc0c01410f18ac2fe31a5f7976c0da05"},"length":16062464},"<repo>/01-index.tar.gz":{"hashes":{"sha256":"6597980426117fbc2a9aab970f99e80d0fbc2811e88ac34c31db689192899681"},"length":2403319},"<repo>/mirrors.json":{"hashes":{"sha256":"982d7115c44ba61087d2764efbcdfa33bb16a8e9daa1e19d49b50bfe2bdff8d9"},"length":1246},"<repo>/root.json":{"hashes":{"sha256":"2ed435c078955d73330f32fd52aba3afd494984c808f7d96869916f2b4f75a3d"},"length":6337}},"version":1}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"signatures":[{"keyid":"3ae5b57e7db850bc5fc0358cf9395e18df211d45f4944cf8fd9aba9500d7b64a","method":"ed25519","sig":"q9vvvgzOdquc2gXzgV//Oh0Aa4pcT+IorJ9q+I8zFXrdfbO6AM8HMNrQQkn9stmJMne8N/Vr3ZdphulJr8o3BA=="},{"keyid":"402cafcc99b45c42f40b66df81df5377f976e867cc03434ad2e0357ea1dc2e1f","method":"ed25519","sig":"wlgiHiB/qAInWpsdCMdA+J7XQa5X8c8ZkWP7sJqXaoZq9ZfMxEq8RAmkNBNNsYcyFW4NS6iEVVe/YmjqXdLjBw=="}],"signed":{"_type":"Timestamp","expires":null,"meta":{"<repo>/snapshot.json":{"hashes":{"sha256":"e5adbc9401f7ba2be701cccbda05764c2eb52838b873e2faa071ddfa5191b8bd"},"length":975}},"version":1}} | ||
{"signatures":[{"keyid":"3ae5b57e7db850bc5fc0358cf9395e18df211d45f4944cf8fd9aba9500d7b64a","method":"ed25519","sig":"0PLpdI4ivv0j+hd0swnP5dy/SU9tZQhPk2Y4kgyJZVxEvsG1DcrnpK3+AyrxGBqUhiJ/QwXMPDkBut8A34fiDA=="},{"keyid":"402cafcc99b45c42f40b66df81df5377f976e867cc03434ad2e0357ea1dc2e1f","method":"ed25519","sig":"1X4DOcG1CaE9pJWb7dI3Bu9U6LW1YxqAhWLRKbhAwCYfJsrlugtzsLhEmaK4gIDtulqwMrAxnDqZsA95Pr1rAw=="}],"signed":{"_type":"Timestamp","expires":null,"meta":{"<repo>/snapshot.json":{"hashes":{"sha256":"8a7d533299748a5abd87ee74090e287329647770b21cca28fdedb63379092cd5"},"length":975}},"version":1}} |