The methods of the FSDirectory class are listed below. For a complete list of FSDirectory class members, see the FSDirectory Members topic.
FileModified | Overloaded. Returns the time the named file was last modified. |
GetDirectory | Overloaded. |
Close | Closes the store to future operations. |
CreateFile | Creates a new, empty file in the directory with the given name. Returns a stream writing this file. |
DeleteFile | Removes an existing file in the directory. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
FileExists | Returns true iff a file with the given name exists. |
FileLength | Returns the length in bytes of a file in the directory. |
FileModified | Overloaded. Returns the time the named file was last modified. |
GetFile | |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
List | Returns an array of strings, one for each file in the directory. |
MakeLock | |
OpenFile | Returns a stream reading an existing file. |
RenameFile | Renames an existing file in the directory. |
ToString | For debug output. |
TouchFile | Set the modified time of an existing file to now. |