The Hitchhiker's Guide to ...
Monday, March 30, 2015
Versioned files in Pharo
Nice project from Norbert to provide versioned files
:
'test.text' asVersionedFile writeStreamDo: [:s | s nextPutAll: 'HelloWorld' ]
will create files:
test.txt.1
test.txt.2
...
anytime you run it. And a
test.txt.seq
with the current number. Useful.
No comments:
Post a Comment
Newer Post
Older Post
Home
View mobile version
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment