Mercurial > minori
comparison src/library/library.cc @ 413:192da585a0a8 default tip
*: fix formatting
the clang-format file was broken andjust using LLVM defaults.
now it's fixed and is more in line with what I actually prefer my
code to look like -- esp. with regards to tabulators
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:54:32 -0400 |
| parents | eb554255ea5f |
| children |
comparison
equal
deleted
inserted
replaced
| 412:05aed03e0111 | 413:192da585a0a8 |
|---|---|
| 38 for (const auto &p : session.config.library.paths) { | 38 for (const auto &p : session.config.library.paths) { |
| 39 if (watchers_.count(p)) | 39 if (watchers_.count(p)) |
| 40 continue; | 40 continue; |
| 41 | 41 |
| 42 watchers_[p].reset( | 42 watchers_[p].reset( |
| 43 Filesystem::GetRecursiveFilesystemWatcher(reinterpret_cast<void *>(this), p, Database::StaticEventHandler)); | 43 Filesystem::GetRecursiveFilesystemWatcher(reinterpret_cast<void *>(this), p, Database::StaticEventHandler)); |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 | 46 |
| 47 bool Database::GetPathAnimeAndEpisode(const std::string &basename, int *aid, int *ep) | 47 bool Database::GetPathAnimeAndEpisode(const std::string &basename, int *aid, int *ep) |
| 48 { | 48 { |
