mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 19:05:08 +00:00
Implement creating a new directory.
This commit is contained in:
parent
5c50d02c2e
commit
f608629704
9 changed files with 224 additions and 20 deletions
|
@ -38,9 +38,13 @@ int main(int c, char** v)
|
|||
return 1;
|
||||
}
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
auto newFile = vfs.create("/empty");
|
||||
printf("vfs.create: %p\n", newFile.ptr());
|
||||
#endif
|
||||
#if 1
|
||||
auto newDir = vfs.mkdir("/mydir");
|
||||
printf("vfs.mkdir: %p\n", newDir.ptr());
|
||||
#endif
|
||||
//return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue