MLIB
Loading...
Searching...
No Matches
rdir.h
Go to the documentation of this file.
1/*
2 Copyright (c) Mircea Neacsu (2014-2025) Licensed under MIT License.
3 This file is part of MLIB project. See LICENSE file for full license terms.
4*/
5
7
8#pragma once
9
10#if __has_include("defs.h")
11#include "defs.h"
12#endif
13
14#include <string>
15
16namespace mlib {
17
18int r_mkdir (const std::string& dir);
19int r_rmdir (const std::string& dir);
20
21} // namespace mlib
int r_rmdir(const std::string &dir)
Recursively remove a directory.
Definition rdir.cpp:63
int r_mkdir(const std::string &dir)
Recursively create a new directory.
Definition rdir.cpp:23