jw-pkg/test/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann fae3390a50
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m16s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m13s
CI / Packaging test (pull_request) Successful in 0s
lib.ec.secret_store.KvFile: Fail get() on directories
A directory node of the store, the root included, stats as a directory, but
a get on it falls through to the key lookup below its parent and fails with
a FileNotFoundError naming a path the caller never asked for: get() on the
root fails with an empty name, get() on a branch with its parent's compound
path.

Raise IsADirectoryError from _get() when the path is a directory on the
host, after the compound and the blob lookups, so get() and stat() agree: a
directory stats as FT_DIR and refuses a get.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.0
Signed-off-by: Jan Lindemann <jan@janware.com>
2026-11-07 13:54:19 +01:00
..
python lib.ec.secret_store.KvFile: Fail get() on directories 2026-11-07 13:54:19 +01:00
Makefile jw.pkg.lib.Uri: Add unit test 2026-06-25 19:08:02 +02:00