# FileSystemDirectory

A directory in a file system listing.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `name` | `string` | The entry's name. |
| `path` | `string` | The entry's full path within the file system. |
| `dateCreated` | `datetime` | When it was created (UTC). |
| `dateModified` | `datetime` | When it was last modified (UTC). |

## Example

```json
{
  "name": "...",
  "path": "...",
  "dateCreated": "2026-10-26T12:00:00.0000000Z",
  "dateModified": "2026-10-26T12:00:00.0000000Z"
}
```

## Where it's used

- [`vfs.open(name).mkdir`](https://docs.maitento.com/reference/api/vfs.md) (`PUT /namespaces/{namespaceName}/vfs/by-name/{name}/directories`)
- [`vfs.openById(id).mkdir`](https://docs.maitento.com/reference/api/vfs.md) (`PUT /vfs/by-id/{id}/directories`)
- Inside [`FileSystemEntry`](https://docs.maitento.com/reference/types/file-system-entry.md)
