git-annex/Database
Joey Hess 5dbaaae299
test suite now passes after OsPath conversion
The test suite was failing because of a bug in the Database/* modules.
I had replaced doesPathExist with doesDirectoryExist, but it was
checking the database file.

I have audited commit f1ba21d698 for
other changes to doesPathExist, and checked that doesDirectoryExist and
doesFileExist were used correctly.

The only change I found is in youtubeDl', where it used to return
directories that might have been created by youtube-dl. But it was
supposed to return media files, so changing it to use doesFileExist is
actually an improvement. Although only of theoretical benefit.

Note that it would actually be possible to keep using doesPathExist,
there is a version of that for OsPath as well. But the rest of these
changes seem safe.

Sponsored-by: Nicholas Golder-Manning
2025-02-11 12:44:09 -04:00
..
Keys more OsPath conversion 2025-01-27 10:13:43 -04:00
RepoSize remove stale live changes from reposize database 2024-08-28 13:57:25 -04:00
Benchmark.hs more OsPath conversion 2025-01-29 16:24:51 -04:00
ContentIdentifier.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Export.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Fsck.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Handle.hs more OsPath conversion 2025-01-25 11:56:35 -04:00
ImportFeed.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Init.hs more OsPath conversion 2025-01-29 16:24:51 -04:00
Keys.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Queue.hs more OsPath conversion 2025-01-25 11:56:35 -04:00
RawFilePath.hs OsPath build flag no longer depends on filepath-bytestring 2025-02-10 16:39:55 -04:00
RepoSize.hs test suite now passes after OsPath conversion 2025-02-11 12:44:09 -04:00
Types.hs sqlite datbase for importfeed 2023-10-23 16:46:22 -04:00
Utility.hs Sped up sqlite inserts 2x when built with persistent 2.14.5.0 2023-03-31 14:38:25 -04:00