ldas-tools-diskcacheAPI  2.7.1
Classes | Functions
anonymous_namespace{Directory.cc} Namespace Reference

Classes

union  stat_id
 

Functions

diskCache::Cache::Directory::timestamp_type do_stat (const std::string &Path, struct stat &StatStruct, bool IsRoot)
 
const string errnoMessage ()
 Get errno string message. More...
 
void read_directory (const std::string &Path, const std::string &RootDirectory, directory_container_type &Children, ignored_type &IgnoredDirectories, Directory::index_container_type &OldData, DirectoryScanData &ScanData, const diskCache::Cache::StatInfo &Stat)
 

Function Documentation

◆ do_stat()

diskCache::Cache::Directory::timestamp_type anonymous_namespace{Directory.cc}::do_stat ( const std::string &  Path,
struct stat StatStruct,
bool  IsRoot 
)
inline

◆ errnoMessage()

const string anonymous_namespace Directory anonymous_namespace{Directory.cc}::cc::errnoMessage ( )
inline

Get errno string message.

This method interpret error code into the string message.

Returns
Formatted error message.

◆ read_directory()

void anonymous_namespace{Directory.cc}::read_directory ( const std::string &  Path,
const std::string &  RootDirectory,
directory_container_type Children,
ignored_type IgnoredDirectories,
Directory::index_container_type OldData,
DirectoryScanData ScanData,
const diskCache::Cache::StatInfo Stat 
)
Todo:
Check if any registered indexing scheme indexes this type of file and if so, what assumption does it make about the file type.
Todo:
Check if entry should be excluded from the scan.
Note
This check assumes that patterns that match are not directories

Add to the list of directories

Todo:
Check if any registered indexing scheme indexes this type of file and if so, what assumption does it make about the file type.
Todo:
Check if entry should be excluded from the scan.
Note
This check assumes that patterns that match are not directories

Add to the list of directories