canola.nvim/lua/oil/adapters
Barrett Ruth ba27fe176b
fix(ftp): use nil entry ID so cache assigns unique IDs
Problem: `M.list` returned entries as `{0, name, type, meta}`.
`cache.store_entry` only assigns a fresh ID when `entry[FIELD_ID] == nil`;
passing 0 caused every entry to be stored as ID 0, all overwriting
each other. `get_entry_by_id(0)` then always returned the last-stored
entry, breaking navigation (always opened the same file), rename
(wrong entry matched), and create (wrong diff).

Solution: change the placeholder from 0 to nil, matching how
`cache.create_entry` itself builds entries.
2026-03-17 23:43:37 -04:00
..
files feat(columns): per-character permission column highlights (#375) (#146) 2026-03-16 15:53:23 -04:00
s3 refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00
ssh refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00
trash refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00
files.lua feat(columns): per-character permission column highlights (#375) (#146) 2026-03-16 15:53:23 -04:00
ftp.lua fix(ftp): use nil entry ID so cache assigns unique IDs 2026-03-17 23:43:37 -04:00
s3.lua refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00
ssh.lua feat(columns): per-character permission column highlights (#375) (#146) 2026-03-16 15:53:23 -04:00
test.lua refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00
trash.lua refactor: revert canola namespace to oil and remove vim.g config (#120) 2026-03-10 22:49:56 -04:00