kubo/core/coreapi
Marcin Rataj 01b1ce0cca feat(add): add --dereference-symlinks, --empty-dirs, --hidden CLI flags
add CLI flags for controlling file collection behavior during ipfs add:

- `--dereference-symlinks`: recursively resolve symlinks to their target
  content (replaces deprecated --dereference-args which only worked on
  CLI arguments). wired through go-ipfs-cmds to boxo's SerialFileOptions.
- `--empty-dirs` / `-E`: include empty directories (default: true)
- `--hidden` / `-H`: include hidden files (default: false)

these flags are CLI-only and not wired to Import.* config options because
go-ipfs-cmds library handles input file filtering before the directory
tree is passed to kubo. removed unused Import.UnixFSSymlinkMode config
option that was defined but never actually read by the CLI.

also:
- wire --trickle to Import.UnixFSDAGLayout config default
- update go-ipfs-cmds to v0.15.1-0.20260117043932-17687e216294
- add SYMLINK HANDLING section to ipfs add help text
- add CLI tests for all three flags

ref: https://github.com/ipfs/specs/pull/499
2026-01-17 05:58:57 +01:00
..
test refactor: replace context.WithCancel with t.Context (#11083) 2025-11-28 16:39:55 +01:00
block.go feat: support optional pin names (#10261) 2024-01-04 14:25:06 +01:00
coreapi.go refactor(config): migration 17-to-18 to unify Provider/Reprovider into Provide.DHT (#10951) 2025-09-18 22:17:43 +02:00
dag.go feat: support optional pin names (#10261) 2024-01-04 14:25:06 +01:00
key.go keys: skip bad keys when listing (#11115) 2026-01-07 09:56:11 -08:00
name.go feat(config): AutoConf with "auto" placeholders (#10883) 2025-08-20 05:59:11 +02:00
object.go core/commands!: remove deprecated object APIs (#10375) 2024-03-22 09:32:30 +01:00
path.go chore: clean migration 2023-11-29 12:29:59 +01:00
pin.go fix: Provide according to Reprovider.Strategy (#10886) 2025-08-08 10:56:44 +02:00
pubsub.go chore: clean migration 2023-11-29 12:29:59 +01:00
routing.go feat: opt-in new Sweep provide system (#10834) 2025-09-18 17:22:04 +02:00
swarm.go chore: clean migration 2023-11-29 12:29:59 +01:00
unixfs.go feat(add): add --dereference-symlinks, --empty-dirs, --hidden CLI flags 2026-01-17 05:58:57 +01:00