Vortex Docs
  • Introduction
  • Getting Started
  • Language Reference
    • Core Functionality
    • Built-in Functions
    • Hooks
    • C Interoperability
    • Coroutines
    • Decorators
    • Type Hinting
    • Error Handling
  • Examples
    • Data Structures
    • Hooks
    • Fetching Data
    • Sockets
    • Event Bus
  • Standard Modules
    • Functional
    • Functools
    • Future
    • I/O
    • JSON
    • Logging
    • Math
    • OS
    • Random
    • Requests
    • SDL
    • SQLite
    • String
    • Sys
    • Time
    • Crypto
    • Websockets
  • Development Roadmap
Powered by GitBook
On this page
  1. Standard Modules

OS

The 'os' module provides operating system information

Function Signatures

// 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>
PreviousMathNextRandom

Last updated 1 year ago