Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 6 of 6) sorted by relevance

/glogg/glogg/src/
H A Dwatchtower.h
H A Dwatchtowerlist.h
/glogg/src/
H A Dwatchtower.h165 auto dir = observed_file_list_.watchedDirectoryForFile( file_name ); in addFile() local
166 if ( ! dir ) { in addFile()
170 dir = observed_file_list_.addWatchedDirectoryForFile( file_name, in addFile()
171 [this, weakHeartBeat] (ObservedDir<Driver>* dir) { in addFile()
173 driver_.removeDir( dir->dir_id_ ); in addFile()
176 dir->dir_id_ = driver_.addDir( dir->path ); in addFile()
178 if ( ! dir->dir_id_.valid() ) { in addFile()
180 dir = nullptr; in addFile()
188 if ( dir ) in addFile()
189 new_file->dir_ = dir; in addFile()
H A Dwatchtowerlist.h254 auto dir = find_if( observed_dirs_.begin(), observed_dirs_.end(), in searchByDirWdAndName() local
256 if ( auto dir = d.second.lock() ) { in searchByDirWdAndName()
257 return ( id == dir->dir_id_ ); in searchByDirWdAndName()
262 if ( dir != observed_dirs_.end() ) { in searchByDirWdAndName()
263 std::string path = dir->first + "/" + name; in searchByDirWdAndName()
281 auto dir = find_if( observed_dirs_.begin(), observed_dirs_.end(), in searchByDirWd() local
283 if ( auto dir = d.second.lock() ) { in searchByDirWd()
284 return ( id == dir->dir_id_ ); in searchByDirWd()
289 if ( dir != observed_dirs_.end() ) { in searchByDirWd()
291 if ( auto d = dir->second.lock() ) { in searchByDirWd()
[all …]
/glogg/glogg/tests/
H A DwatchtowerTest.cpp
/glogg/tests/
H A DwatchtowerTest.cpp369 string createTempEmptyFileInDir( const string& dir ) { in createTempEmptyFileInDir() argument
371 return createTempEmptyFile( dir + std::string { "/temp" } + to_string( counter++ ) ); in createTempEmptyFileInDir()