[darcs-devel] [patch2147] eliminate Darcs.Repository.HashedIO

Ben Franksen bugs at darcs.net
Sun Jan 10 15:42:00 UTC 2021


New submission from Ben Franksen <ben.franksen at online.de>:

As the subject says, this bundle gets us rid of the largely obsolete
Darcs.Repository.HashedIO module. Its functionality mostly duplicates what
we have in Darcs.Util.Tree.Hashed/Monad, so this saves lots of code to
maintain.

4 patches for repository http://darcs.net/screened:

patch df6118d74508b6b387916dcc7101507f0b07f376
Author: Ben Franksen <ben.franksen at online.de>
Date:   Tue Nov 10 15:40:42 CET 2020
  * simplify createPristineDirectoryTree by reading and writing trees
  
  This gets rid of yet another function exported from D.R.HashedIO, namely
  copyHashed.

patch 41fdaeb64e3000ac322072e7b90ebfdaaa2667ac
Author: Ben Franksen <ben.franksen at online.de>
Date:   Tue Nov 10 15:34:31 CET 2020
  * dist command: simplify getting paths and contents of pristine for --zip
  
  This gets us rid of yet another function exported from D.R.HashedIO, namely
  pathsAndContents. The re-implementation of that functionality using the
  existing tree functions is entirely straight-forward.

patch 3956dfcd4d7e7836757043fc472de98fa5b114ef
Author: Ben Franksen <ben.franksen at online.de>
Date:   Tue Nov 10 13:44:54 CET 2020
  * tone down excessive debug output from D.R.HashedIO.readHashFile

patch 97cd8cfd19b20d85608c025c9f957232178abe2e
Author: Ben Franksen <ben.franksen at online.de>
Date:   Tue Nov 10 16:16:58 CET 2020
  * move cleanPristineDir to D.R.Pristine
  
  This finally allows us to completely scrap D.R.HashedIO. Yay!

----------
files: patch-preview.txt, simplify-createpristinedirectorytree-by-reading-and-writing-trees.dpatch, unnamed
messages: 22619
nosy: bf
status: needs-screening
title: eliminate Darcs.Repository.HashedIO

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2147>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 22360 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20210110/9db28361/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simplify-createpristinedirectorytree-by-reading-and-writing-trees.dpatch
Type: application/x-darcs-patch
Size: 34423 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20210110/9db28361/attachment-0003.bin>
-------------- next part --------------
.





More information about the darcs-devel mailing list