6#ifndef PHAROS_NATIVE_APP_RUNTIME_PATHS_H
7#define PHAROS_NATIVE_APP_RUNTIME_PATHS_H
27char *
find_app_root_for_target(
const char *target_id,
const char *app_dir_hint,
const char *repo_root,
const char *binary_dir);
73char *
effective_app_state_path_native(
const char *app_root,
const char *build_dir,
const char *app_id,
const char *state_path_override,
const char *state_dir_override);
char * app_build_dir_local_native(const char *app_root)
Builds the default local build directory path for an app.
char * effective_app_build_dir_native(const char *app_root, const char *build_dir_override)
Resolves the effective build directory for an app.
char * effective_app_log_path_native(const char *app_root, const char *app_id, const char *log_path_override)
Resolves the effective log file path for an app.
char * effective_app_log_format_native(const char *app_root)
Resolves the effective log format for an app.
char * app_artifact_dir_from_build_dir_native(const char *build_dir, const char *app_id)
Resolves the artifact directory for one app from a build root or deployed app parent.
char * effective_app_debug_native(const char *app_root, const char *debug_override)
Resolves the effective debug setting for an app.
char * app_debug_local_native(const char *app_root)
Builds the default local debug setting for an app.
char * find_app_root_for_target(const char *target_id, const char *app_dir_hint, const char *repo_root, const char *binary_dir)
Locates an app root for a target using explicit app-dir hints and canonical apps directories.
char * app_error_report_path_local_native(const char *app_root)
Builds the default local error report path for an app.
char * app_state_path_local_native(const char *app_root, const char *build_dir, const char *app_id)
Builds the default local state file path for an app.
char * effective_app_error_report_path_native(const char *app_root, const char *app_id)
Resolves the effective error report path for an app.
char * effective_app_state_path_native(const char *app_root, const char *build_dir, const char *app_id, const char *state_path_override, const char *state_dir_override)
Resolves the effective state file path for an app.
char * effective_app_artifact_dir_native(const char *app_root, const char *build_dir, const char *app_id)
Resolves the effective artifact directory for an app from framework build root plus app-owned contrac...
char * app_log_format_local_native(const char *app_root)
Builds the default local log format setting for an app.
char * effective_app_base_path_native(const char *app_root, const char *base_path_override)
Resolves the effective URL base path for an app.
char * app_base_path_local_native(const char *app_root)
Builds the default local URL base path for an app.
char * match_app_root_in_directory(const char *base_dir, const char *target_id)
Searches one directory for an app root matching a target identifier.
char * app_log_path_local_native(const char *app_root, const char *app_id)
Builds the default local log file path for an app.