This module contains utilities for accessing files packaged with an application.
Procs
proc resourceDir(): string {....raises: [ValueError, OSError], tags: [ReadIOEffect].}
- Return the absolute path to the directory where resources are for this app.
proc resourcePath(filename: string): string {....raises: [ValueError, OSError], tags: [ReadIOEffect].}
- Return the path to a static resource included in the application As a safety measure, this will not return a file outside of the application's resource dir.