| libzypp 17.37.14
    | 
Simple cache remembering device/inode to detect hardlinks. More...
#include <zypp-core/fs/PathInfo.h>
| Public Member Functions | |
| DevInoCache () | |
| Ctor. | |
| void | clear () | 
| Clear cache. | |
| bool | insert (const dev_t &dev_r, const ino_t &ino_r) | 
| Remember dev/ino. | |
| Private Attributes | |
| std::map< dev_t, std::set< ino_t > > | _devino | 
Simple cache remembering device/inode to detect hardlinks.
Definition at line 192 of file PathInfo.h.
| 
 | inline | 
Ctor.
Definition at line 196 of file PathInfo.h.
| 
 | inline | 
Clear cache.
Definition at line 199 of file PathInfo.h.
| 
 | inline | 
Remember dev/ino.
\Return true if it's inserted the first time, false if alredy present in cache (a hardlink to a previously remembered file). 
Definition at line 206 of file PathInfo.h.
| 
 | private | 
Definition at line 211 of file PathInfo.h.