Revision 3c76f045 trunk/Pithos.Core/IStatusKeeper.cs
b/trunk/Pithos.Core/IStatusKeeper.cs | ||
---|---|---|
31 | 31 |
int BlockSize { get; set; } |
32 | 32 |
void ChangeRoots(string oldPath, string newPath); |
33 | 33 |
FileState GetStateByFilePath(string path); |
34 |
void ClearFolderStatus(string path); |
|
35 |
IEnumerable<FileState> GetChildren(FileState fileState); |
|
34 | 36 |
} |
35 | 37 |
|
36 | 38 |
[ContractClassFor(typeof(IStatusKeeper))] |
... | ... | |
172 | 174 |
|
173 | 175 |
return null; |
174 | 176 |
} |
177 |
|
|
178 |
public void ClearFolderStatus(string path) |
|
179 |
{ |
|
180 |
Contract.Requires(!String.IsNullOrWhiteSpace(path)); |
|
181 |
Contract.Requires(Path.IsPathRooted(path)); |
|
182 |
} |
|
183 |
|
|
184 |
public IEnumerable<FileState> GetChildren(FileState fileState) |
|
185 |
{ |
|
186 |
Contract.Requires(fileState!=null); |
|
187 |
Contract.Ensures(Contract.Result<IEnumerable<FileState>>()!=null); |
|
188 |
return default(IEnumerable<FileState>); |
|
189 |
} |
|
175 | 190 |
} |
176 | 191 |
} |
Also available in: Unified diff