Commit 58e54f7
fix(cache): AX-6 sweep on cache.go — purge net/url, annotate os/io-fs (#380)
Removed net/url; encodePathSegment uses core.URLPathEscape. Replaced
os.IsNotExist with core.Is(err, fs.ErrNotExist) and os.ModeSymlink with
fs.ModeSymlink. Retained io/fs and os with AX-6 annotations: fs.ErrNotExist,
fs.ModeSymlink (sentinel access); os.Lstat (no-follow), os.Getwd (dynamic).
Closes tasks.lthn.sh/view.php?id=380
Co-authored-by: Codex <noreply@openai.com>1 parent 1d0e21c commit 58e54f7
1 file changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | 17 | | |
20 | 18 | | |
| |||
958 | 956 | | |
959 | 957 | | |
960 | 958 | | |
961 | | - | |
| 959 | + | |
962 | 960 | | |
963 | 961 | | |
964 | 962 | | |
965 | 963 | | |
966 | | - | |
| 964 | + | |
967 | 965 | | |
968 | 966 | | |
969 | 967 | | |
| |||
1922 | 1920 | | |
1923 | 1921 | | |
1924 | 1922 | | |
1925 | | - | |
| 1923 | + | |
1926 | 1924 | | |
1927 | 1925 | | |
1928 | 1926 | | |
| |||
0 commit comments