adds sims collection
This commit is contained in:
parent
7bc8c2bfeb
commit
1aacf7ece4
3 changed files with 27 additions and 5 deletions
|
@ -340,12 +340,10 @@ as passed to "git annex sim" while a simulation is running.
|
|||
|
||||
* The [[git-annex-common-options]](1) can be used.
|
||||
|
||||
# HASKELL INTERFACE
|
||||
# SIM FILE COLLECTION
|
||||
|
||||
There is also a Haskell interface to the simulation,
|
||||
in the git-annex source tree in the Annex.Sim module. This allows
|
||||
implementing simulations in pure Haskell code, without the overhead of
|
||||
using a git repository.
|
||||
git-annex includes a collection of sim files,
|
||||
at <https://git-annex.branchable.com/sims/>
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
|
|
5
doc/sims.mdwn
Normal file
5
doc/sims.mdwn
Normal file
|
@ -0,0 +1,5 @@
|
|||
This is a collection of sim files for the [[git-annex-sim]] command.
|
||||
|
||||
[[!inline pages="./sims/* and !./sims/*/*
|
||||
and !*/Discussion" actions=yes postform=yes postformtext="Add a new sim titled:"
|
||||
show=0 feedlimit=10 archive=yes template=buglist]]
|
19
doc/sims/balanced.mdwn
Normal file
19
doc/sims/balanced.mdwn
Normal file
|
@ -0,0 +1,19 @@
|
|||
# size balanced preferred content sim
|
||||
seed -4592890916829221843
|
||||
init foo
|
||||
init bar
|
||||
init baz
|
||||
connect foo -> bar
|
||||
connect foo -> baz
|
||||
group bar test
|
||||
group baz test
|
||||
wanted bar sizebalanced=test
|
||||
wanted baz sizebalanced=test
|
||||
maxsize bar 20gb
|
||||
maxsize baz 50gb
|
||||
addmulti 10 bigfile 1GB 10GB foo
|
||||
step 30
|
||||
add smallfile 500kb foo
|
||||
step 1
|
||||
visit foo git-annex whereis
|
||||
visit foo git-annex maxsize
|
Loading…
Add table
Add a link
Reference in a new issue