mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 10:02:30 +00:00
feat(os): OsCreateDirectory
This commit is contained in:
parent
71fd5402c3
commit
e58128405c
1 changed files with 2 additions and 0 deletions
|
|
@ -160,5 +160,7 @@ int32_t OsGetCurrentDirectory(size_t pathLen, char* pathName) {
|
|||
}
|
||||
|
||||
int32_t OsCreateDirectory(const char* pathName, int32_t recursive) {
|
||||
BLIZZARD_ASSERT(pathName);
|
||||
|
||||
return Blizzard::File::CreateDirectory(pathName, recursive == 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue