Skip to content

Shuzhengz/JEC-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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