> For the complete documentation index, see [llms.txt](https://dibs.gitbook.io/vortex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dibs.gitbook.io/vortex-docs/standard-modules/os.md).

# OS

The 'os' module provides operating system information

### Function Signatures

{% code overflow="wrap" %}

```go
// Lists the contents of a directory.
const list_dir = (filepath: String) => [String]

// Retrieves the name of the operating system.
const os_name = () => String

// Walks through a directory tree and yields each file path.
const walk = (filePath: String) => Coroutine<String>
```

{% endcode %}
