Revision 6bcdd8e2 trunk/Pithos.Core/Agents/StatusAgent.cs
b/trunk/Pithos.Core/Agents/StatusAgent.cs | ||
---|---|---|
254 | 254 |
{ |
255 | 255 |
//This file has a matching state. Need to check for possible changes |
256 | 256 |
var hashString = file.CalculateHash(BlockSize,BlockHash); |
257 |
//TODO: Need a way to attach the hashes to the filestate so we don't |
|
258 |
//recalculate them each time a call to calculate has is made |
|
259 |
//We can either store them to the filestate or add them to a |
|
260 |
//dictionary |
|
261 |
|
|
257 | 262 |
//If the hashes don't match the file was changed |
258 | 263 |
if (fileState.Checksum != hashString) |
259 | 264 |
{ |
Also available in: Unified diff