mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-10 00:11:29 +00:00
Update inlcuded ttvfs
This commit is contained in:
parent
fe0a91129f
commit
ffa26e4105
22 changed files with 327 additions and 153 deletions
22
ExternalLibs/ttvfs/VFSDebug.h
Normal file
22
ExternalLibs/ttvfs/VFSDebug.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#ifndef TTVFS_DEBUG_H
|
||||
#define TTVFS_DEBUG_H
|
||||
|
||||
#include "VFSDefines.h"
|
||||
#include <iosfwd>
|
||||
|
||||
VFS_NAMESPACE_START
|
||||
class Root;
|
||||
|
||||
namespace debug {
|
||||
|
||||
/** Dump tree structure with debug information to a stream.
|
||||
path specifies the subdir to dump; use "" or NULL to dump the whole tree.
|
||||
Set level to >= 0 to limit the recursion depth.
|
||||
Level < 0 recurses as deep as the tree goes. */
|
||||
void dumpTree(Root& root, std::ostream& os, const char *path = NULL, int level = -1);
|
||||
|
||||
|
||||
} // end namespace debug
|
||||
VFS_NAMESPACE_END
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue