메소드 | 설명 | |
---|---|---|
Allocate ( |
Allocates a new DirectoryEntry object for the given settings. This method is used to control the DirectoryEntry allocation and maintain a cache of them. Also used to prevent infinite name allocations. |
|
AllocateRoot ( IVfsNode node ) : |
Allocates a vfs root directory entry. This method creates a directory entry, which has some special properties. The first one is, that its parent is itself. This provides for the ability to cd .. on the root to stay on the root. |
|
DirectoryEntry ( ) |
|
|
Lookup ( string name ) : |
|
|
Release ( ) : void |
Releases the DirectoryEntry from the parent DirectoryEntry. This is *not* a delete operation. This function is used to remove a DirectoryEntry from the cache. Some (networked) file systems may want to use this function to remove "known" directories from the lookup cache when they loose server connection. |
메소드 | 설명 | |
---|---|---|
InsertChild ( |
|
|
RemoveChild ( |
|
|
Setup ( |
|
public static Allocate ( |
||
parent | The parent directory entry. | |
name | string | The name of the entry to create. |
node | IVfsNode | The vfs node referenced by the directory entry. |
리턴 |
public static AllocateRoot ( IVfsNode node ) : |
||
node | IVfsNode | The vfs node, which corresponds to the root directory. |
리턴 |