go-ipfs-cmds icon indicating copy to clipboard operation
go-ipfs-cmds copied to clipboard

feat: add --dereference-symlinks flag for recursive symlink resolution

Open lidel opened this issue 2 days ago • 0 comments

add new --dereference-symlinks boolean flag that recursively resolves all symlinks to their target content during file collection. this works on symlinks inside directories, not just CLI arguments.

the flag is wired through cli/parse.go to boxo's SerialFileOptions.DereferenceSymlinks.

deprecate --dereference-args which only worked on symlinks passed directly as CLI arguments. the help text now indicates it is deprecated and directs users to use --dereference-symlinks instead.

  • ref: https://github.com/ipfs/specs/pull/499
    • Depends on https://github.com/ipfs/boxo/pull/1088

lidel avatar Jan 17 '26 04:01 lidel