E&S CVS Commit: PEAK - There's a new 'peak.storage.files' module, with handy classes like

pje at eby-sarna.com pje at eby-sarna.com
Sat Aug 16 23:49:00 EDT 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sun Aug 17 03:48:31 UTC 2003

Modified Files:
	PEAK: CHANGES.txt
	PEAK/src/peak/naming/factories: openable.py
Added Files:
	PEAK/src/peak/storage: files.py

Log Message:
There's a new 'peak.storage.files' module, with handy classes like
'EditableFile'.  'EditableFile' is a class that lets you edit the contents
of a file "in place", with atomic replacement of the original at
transaction commit.  If the transaction is aborted, the original file is
left unchanged.

Also, added 'delete()' method to standard 'openable.FileFactory' objects,
and changed 'FileFactory.getObjectInstance()' so that new instances created
from references use their retrieval context as a parent component.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/CHANGES.txt.diff?r1=1.73&r2=1.74
http://cvs.eby-sarna.com/PEAK/src/peak/naming/factories/openable.py.diff?r1=1.16&r2=1.17
http://cvs.eby-sarna.com/PEAK/src/peak/storage/files.py?rev=1.1&content-type=text/vnd.viewcvs-markup

To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 PEAK/CHANGES.txt
cvs rdiff -r1.16 -r1.17 PEAK/src/peak/naming/factories/openable.py
cvs rdiff -r0 -r1.1 PEAK/src/peak/storage/files.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list