Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
vfs_tree.cpp File Reference
#include "precompiled.h"
#include "lib/file/vfs/vfs_tree.h"
#include <cstdio>
#include "lib/file/common/file_stats.h"
#include "lib/sysdep/cpu.h"

Go to the source code of this file.

Functions

static bool ShouldReplaceWith (const VfsFile &previousFile, const VfsFile &newFile)
 
std::wstring FileDescription (const VfsFile &file)
 
std::wstring FileDescriptions (const VfsDirectory &directory, size_t indentLevel)
 
void DirectoryDescriptionR (std::wstring &descriptions, const VfsDirectory &directory, size_t indentLevel)
 append each directory's files' description to the given string. More...
 

Function Documentation

void DirectoryDescriptionR ( std::wstring &  descriptions,
const VfsDirectory directory,
size_t  indentLevel 
)

append each directory's files' description to the given string.

Definition at line 198 of file vfs_tree.cpp.

std::wstring FileDescription ( const VfsFile file)
Returns
a string containing file attributes (location, size, timestamp) and name.

Definition at line 166 of file vfs_tree.cpp.

std::wstring FileDescriptions ( const VfsDirectory directory,
size_t  indentLevel 
)
Returns
a string holding each files' description (one per line).

Definition at line 178 of file vfs_tree.cpp.

static bool ShouldReplaceWith ( const VfsFile previousFile,
const VfsFile newFile 
)
static

Definition at line 53 of file vfs_tree.cpp.