diff options
author | chai <chaifix@163.com> | 2018-10-16 23:09:18 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-16 23:09:18 +0800 |
commit | 5534828032730762f8c1e4daf924b466fffb8be0 (patch) | |
tree | 1ae83fc877e4a2d136f6dd120260edd147b13e95 /src/libjin/Filesystem/Filesystem.h | |
parent | 0fc4b3ad5f2ac8d5c0588f61c0cbed4349ee1430 (diff) |
*格式化代码
Diffstat (limited to 'src/libjin/Filesystem/Filesystem.h')
-rw-r--r-- | src/libjin/Filesystem/Filesystem.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/libjin/Filesystem/Filesystem.h b/src/libjin/Filesystem/Filesystem.h index 3ae984d..b43d260 100644 --- a/src/libjin/Filesystem/Filesystem.h +++ b/src/libjin/Filesystem/Filesystem.h @@ -3,29 +3,29 @@ namespace jin { -namespace filesystem -{ - /* Դ */ - class Filesystem - { - public: - static Filesystem* get(); + namespace filesystem + { + /* Դ */ + class Filesystem + { + public: + static Filesystem* get(); - Filesystem(); + Filesystem(); - bool isDir(const char* path); - bool isFile(const char* path); - bool exists(const char* path); - int read(const char* path, Buffer* buffer); - void* read(const char* path, unsigned int* len); - void mount(const char* root); - const char* getFull(const char* path); + bool isDir(const char* path); + bool isFile(const char* path); + bool exists(const char* path); + int read(const char* path, Buffer* buffer); + void* read(const char* path, unsigned int* len); + void mount(const char* root); + const char* getFull(const char* path); - private: - static Filesystem* fs; - smtShared* S; + private: + static Filesystem* fs; + smtShared* S; - }; + }; -} // filesystem + } // filesystem } // jin
\ No newline at end of file |