NX 1.0.3
niu2x's base c++ helper library
载入中...
搜索中...
未找到
| 命名空间 | 类型定义 | 函数 | 变量
file_system.h 文件参考
#include <nx/type.h>
file_system.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  nx::file_system::File
 
class  nx::file_system::Archive
 

命名空间

namespace  nx
 root namespace
 
namespace  nx::file_system
 file_system namespace
 

类型定义

using nx::file_system::GlobCallback = Function< void(const String &path)>
 

函数

NX_API bool nx::file_system::is_directory (const String &path)
 Determines whether the specified path is directory.
 
NX_API bool nx::file_system::is_file (const String &path)
 Determines whether the specified path is file.
 
NX_API bool nx::file_system::exists (const String &path)
 Determines whether the specified file exist
 
NX_API bool nx::file_system::make_dirs (const String &path)
 
NX_API String nx::file_system::relative_path (const String &path, const String &base)
 
NX_API Vector< Stringnx::file_system::list_dir (const String &path)
 
NX_API String nx::file_system::get_parent_path (const String &path)
 Gets the parent path.
 
NX_API String nx::file_system::join_path (const String &dir, const String &path)
 
NX_API String nx::file_system::get_file_name (const String &path)
 Gets the file name.
 
NX_API Filenx::file_system::in ()
 get stdin file
 
NX_API Filenx::file_system::out ()
 get stdout file
 
NX_API Filenx::file_system::err ()
 get stderr file
 
NX_API ReadAllResult nx::file_system::read_file (const String &path)
 
NX_API UniquePtr< Archivenx::file_system::create_archive (const String &file_uri)
 
NX_API UniquePtr< Archivenx::file_system::create_zip_archive_from_memory (const void *buf, size_t len)
 
NX_API void nx::file_system::glob (const String &directory, const String &glob_pattern, GlobCallback callback)
 
NX_API List< Stringnx::file_system::glob (const String &directory, const String &glob_pattern)
 

变量

NX_API const char nx::file_system::path_separator