meta: rename to fx
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include <blue/io/directory.h>
|
||||
#include <fx/io/directory.h>
|
||||
|
||||
int main(int argc, const char **argv)
|
||||
{
|
||||
@@ -8,16 +8,16 @@ int main(int argc, const char **argv)
|
||||
|
||||
const char *path = argv[1];
|
||||
|
||||
b_directory *dir;
|
||||
b_result result = b_directory_open(NULL, B_RV_PATH(path), 0, &dir);
|
||||
if (b_result_is_error(result)) {
|
||||
b_throw(result);
|
||||
fx_directory *dir;
|
||||
fx_result result = fx_directory_open(NULL, FX_RV_PATH(path), 0, &dir);
|
||||
if (fx_result_is_error(result)) {
|
||||
fx_throw(result);
|
||||
return -1;
|
||||
}
|
||||
|
||||
result = b_directory_delete(dir);
|
||||
if (b_result_is_error(result)) {
|
||||
b_throw(result);
|
||||
result = fx_directory_delete(dir);
|
||||
if (fx_result_is_error(result)) {
|
||||
fx_throw(result);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user