mirror of
https://github.com/sayo-hs/heftia.git
synced 2024-11-26 11:32:21 +03:00
[add] execution result in the Provider example.
This commit is contained in:
parent
758d5912c9
commit
8004fd3cc3
@ -67,3 +67,19 @@ main =
|
||||
transactFS' @"fs2" do
|
||||
inBase $ transactFS' @"fs1" do
|
||||
liftIO $ print "hello"
|
||||
|
||||
{-
|
||||
[DUMMY FS /fs1] readFS "/a/b/c"
|
||||
content: "DUMMY CONTENT on /fs1/a/b/c"
|
||||
[DUMMY FS /fs1] writeFS "/d/e/f" "foobar"
|
||||
-----
|
||||
[DUMMY FS /fs2] readFS "/a/b/c"
|
||||
content: "DUMMY CONTENT on /fs2/a/b/c"
|
||||
[DUMMY FS /fs2] writeFS "/d/e/f" "foobar"
|
||||
-----
|
||||
[DUMMY FS /fs2] START TRANSACTION
|
||||
[DUMMY FS /fs1] START TRANSACTION
|
||||
"hello"
|
||||
[DUMMY FS /fs1] END TRANSACTION
|
||||
[DUMMY FS /fs2] END TRANSACTION
|
||||
-}
|
||||
|
Loading…
Reference in New Issue
Block a user