ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
Preprocess_State Class Reference

#include <preprocess_state.hpp>

+ Inheritance diagram for Preprocess_State:

Static Public Member Functions

static void save_current_run_params (const fs::path &path, const fs::path &cache_path)
 Saves preprocessing parameters for future runs. More...
 
static PreprocessRunParams read_current_run_params ()
 read preprocessing parameters runs More...
 
static bool is_cache_compatible (const std::string &cache_version)
 

Static Protected Attributes

static constexpr const char * CONFIG_PATH = "config.json"
 Configuration file path. More...
 

Detailed Description

Definition at line 34 of file preprocess_state.hpp.

Member Function Documentation

◆ is_cache_compatible()

bool Preprocess_State::is_cache_compatible ( const std::string &  cache_version)
static

Definition at line 40 of file preprocess_state.cpp.

◆ read_current_run_params()

PreprocessRunParams Preprocess_State::read_current_run_params ( )
static

read preprocessing parameters runs

Definition at line 20 of file preprocess_state.cpp.

◆ save_current_run_params()

void Preprocess_State::save_current_run_params ( const fs::path &  path,
const fs::path &  cache_path 
)
static

Saves preprocessing parameters for future runs.

Parameters
pathProject path to save
cache_pathProject cache path

Definition at line 5 of file preprocess_state.cpp.

Member Data Documentation

◆ CONFIG_PATH

constexpr const char* Preprocess_State::CONFIG_PATH = "config.json"
staticconstexprprotected

Configuration file path.

Definition at line 36 of file preprocess_state.hpp.


The documentation for this class was generated from the following files: