Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareBasicDB ¶
func PrepareDB ¶
PrepareDB takes the test db that is checked into git prepares it for testing
The test db that is checked into git contains an album root that is an absolute path to where it is on my machine. I did some looking around I and don't see a way digikam can be setup to use something like an environment variable for that path (and even if we could then the symlinking that our FUSE file system wouldn't work since that can't handle environment variable). So what we are doing here is making a temp copy of the db and then digging into the db and modifying the album root so it points to the absolute path of where this repository is actually located.
func PrepareSQLInjectionDB ¶
Types ¶
This section is empty.