FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Announcing: CashewSFV

 
Post new topic   Reply to topic     Forum Index -> Cashew
View previous topic :: View next topic  
Author Message
csauls



Joined: 27 Mar 2004
Posts: 278

PostPosted: Sat May 24, 2008 9:58 pm    Post subject: Announcing: CashewSFV Reply with quote

What: Simple File Verification, aka SFV. A file format used for verifying (usually large) files when distributed across networks or services, or stored to various media, to watch for file corruption -- simply pairs file paths with CRC32 checksums.

Where: module cashew.utils.Sfv

Why: Because a friend of mine wanted it, basically.

How: By instantiating the Sfv class with a filepath. If the path points to an existing SFV file, it is parsed for entries. If not, it will be created. Entries can then be added to the Sfv instance (.add(FilePath) method), validated (with the obvious .validate() method), and the new SFV file saved (with the equally obvious .save() method).

It also has some event hooks (Signal/Slot) to let a host program track what its doing.

CashewSFV should be mostly complete, but hasn't undergone any sort of rigorous testing. Performance is reasonable enough to be useful, but certainly not record-setting. (The common 'cfv' program, for example, definitely beats it in the cases I have tested.)
_________________
Chris Nicholson-Sauls
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Cashew All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group