supranim/core/paths

Consts

basePath = "/home/runner/work/supranim/supranim/src"
cachePath = "/home/runner/work/supranim/supranim/.cache"
configPath = "/home/runner/work/supranim/supranim/src/config"
consolePath = "/home/runner/work/supranim/supranim/src/storage/plugins/console"
controllerPath = "/home/runner/work/supranim/supranim/src/controller"
databasePath = "/home/runner/work/supranim/supranim/src/service/database"
eventsPath = "/home/runner/work/supranim/supranim/src/service/event"
logsPath = "/home/runner/work/supranim/supranim/src/storage/logs"
middlewarePath = "/home/runner/work/supranim/supranim/src/service/middleware"
migrationPath = "/home/runner/work/supranim/supranim/src/service/database/migrations"
modelPath = "/home/runner/work/supranim/supranim/src/model"
pluginsPath = "/home/runner/work/supranim/supranim/src/storage/plugins"
rootPath = "/home/runner/work/supranim/supranim"
runtimeConfigPath = "/home/runner/work/supranim/supranim/.cache/runtime/config"
servicePath = "/home/runner/work/supranim/supranim/src/service"
storagePath = "/home/runner/work/supranim/supranim/src/storage"

Procs

proc getInstallationPath(path: ApplicationPaths): string {....raises: [], tags: [],
    forbids: [].}
Returns the installation directory path
proc init(path: var ApplicationPaths; installPath: string; createDirs: bool): bool {.
    ...raises: [OSError, IOError],
    tags: [ReadDirEffect, ReadEnvEffect, ReadIOEffect, WriteDirEffect],
    forbids: [].}
Initialize the application paths
proc resolve(path: ApplicationPaths; dir: string; fpath = ""): string {.
    ...raises: [], tags: [], forbids: [].}
Returns the absolute path of dir directory

Templates

template p(x: varargs[string]): string