semicongine/resources

Consts

BUILD_RESOURCEROOT {.strdefine.}: string = ""

Procs

proc list(dir: string; package = DEFAULT_PACKAGE): seq[
    tuple[kind: PathComponent, path: string]] {....raises: [KeyError], tags: [],
    forbids: [].}
proc loadResource(path: string; package = DEFAULT_PACKAGE): Stream {.
    ...raises: [KeyError, Exception], tags: [], forbids: [].}
proc loadResource_intern(path: static string; package: static string): Stream
proc loadResource_intern(path: string; package: string): Stream {.
    ...raises: [KeyError, Exception], tags: [], forbids: [].}
proc packages(): seq[string] {....raises: [], tags: [], forbids: [].}
proc walkResources(dir = ""; package = DEFAULT_PACKAGE): seq[string] {.
    ...raises: [KeyError], tags: [], forbids: [].}