| 164 | } |
| 165 | |
| 166 | std::string getCacheDirName() { |
| 167 | std::string name = getConfigDirName(); |
| 168 | name += "cache"; |
| 169 | #if !defined (_WIN32) && !defined (__APPLE__) |
| 170 | // add in hostname on UNIX |
| 171 | // FIXME should be able to share the cache |
| 172 | if (getenv("HOST")) { |
| 173 | name += "."; |
| 174 | name += getenv("HOST"); |
| 175 | } |
| 176 | #endif |
| 177 | name += BZ_DIRECTORY_SEPARATOR; |
| 178 | return name; |
| 179 | } |
| 180 | |
| 181 | |
| 182 | std::string getRecordDirName() { |
no test coverage detected