new Walker(init)
The Walker explores a directory tree and maps it to memory.
Parameters:
Name | Type | Description |
---|---|---|
init |
Vector | Initial state tree. |
- Source:
Methods
_define(dir, mapopt) → {Object}
Explores a directory tree on the local system's disk.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
dir |
String | Path to crawl on local disk. | ||
map |
Object |
<optional> |
{} | Pointer to previous step in stack. |
- Source:
Returns:
A hashmap of directory contents.
- Type
- Object
_explore(path, mapopt) → {Object}
Explores a directory tree on the local system's disk.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
path |
String | [description] | ||
map |
Object |
<optional> |
{} | [description] |
- Source:
Returns:
[description]
- Type
- Object