Home GnuPG

Centralize path handling, remove duplicate files

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

Centralize path handling, remove duplicate files

Details

Provenance
tfryAuthored on Jun 8 2026, 2:25 PM
Parents
rOJc503a7931c26: Simplify installation code
Branches
Unknown
Tags
Unknown

Event Timeline

svuorela added inline comments.
/common/paths.cpp
31

should we move rather than copy ?

53

This looks like a switch statement.

/common/paths.h
11

enum class?

/server/webserver.cpp
55

I do wonder if we should return false in addition to the asserts (they're compiled out in runtime)

tfry marked 4 inline comments as done.Mon, Jul 6, 2:25 PM
tfry added inline comments.
/common/paths.cpp
31

Yeah, makes sense.

/server/webserver.cpp
55

These do not really make too much sense any more in the first place. They are effectively also checked, below (when trying to read the files), and those checks also return false on failure.

Let's shipit

/server/webserver.cpp
55

then let's remove them. We also fail a bit further down.