|
Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
|
Declares helpers for loading native runtime metadata from manifests. More...
#include "native_runtime_types.h"Go to the source code of this file.
Functions | |
Runtime loading helpers | |
| int | load_app_runtime_from_artifact_native (const char *artifact_dir, AppRuntime *app) |
| Loads runtime metadata for one app from an emitted artifact directory. | |
Declares helpers for loading native runtime metadata from manifests.
Definition in file native_runtime_load.h.
| int load_app_runtime_from_artifact_native | ( | const char * | artifact_dir, |
| AppRuntime * | app ) |
Loads runtime metadata for one app from an emitted artifact directory.
| artifact_dir | Artifact directory containing runtime metadata files. |
| app | Destination runtime record to populate. |
Definition at line 37 of file native_runtime_load.c.
References AppRuntime::app_id, AppRuntime::app_root, AppRuntime::artifact_dir, AppRuntime::base_path, AppRuntime::build_dir, AppRuntime::compiled_entrypoint, current_working_directory(), AppRuntime::debug, AppRuntime::error_report_path, free_loaded_app_runtime_fields(), AppRuntime::host_profile, json_find_string(), json_find_string_in_section(), AppRuntime::log_format, AppRuntime::log_path, path_dirname(), path_exists(), path_join(), pharos_runtime_load_strdup, read_file_text(), resolve_relative_to(), AppRuntime::state_path, and streq().
Referenced by add_runtime_app_native(), handle_native_runtime_app_command(), load_app_runtime_for_single_app(), and prepare_finalized_app_from_config().