Skip to content

Shuzhengz/JEC-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7f406c8 · Nov 27, 2022

History

29 Commits
Aug 5, 2022
Aug 3, 2022
Aug 3, 2022
Aug 3, 2022
Nov 27, 2022
Aug 11, 2022
Aug 14, 2022

Repository files navigation

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)

About

Jabacat's Easy Config, C++ edition

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published