Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.27 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.27 KB

JEC-CPP C++

Jabacat's Easy Config, C++ edition

JEC-py | JEC-rs | JEC-go | JEC-c | JEC-c++ | JEC-zig | JEC-ts | JEC-kt

Works in progress

TODO:

  • Complete Functions
  • Make Tests
  • Make Documentation

API

ConfigFile
  - from_home
  - exists
  - remove
  - create
  
ConfigDir
  - from_home
  - exists
  - remove
  - create

Usage

// Files and Directories
static bool exists(fs::path& path);                     // Checks if file or directory exists

// Files
static void remove(fs::path& path);                     // Removes file
static void create(fs::path& path, std::string& name);  // Creates file
static std::string from_home(fs::path& path);           // Gets path from home

// Directories
static void remove(fs::path& path);                     // Removes Directory
static void create(fs::path& path, char name);          // Creates directory
static std::string from_home(fs::path& path);           // Gets directory path from home (auto delete filename)