Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add deprecator #297

Merged
merged 1 commit into from
May 17, 2023
Merged

feat: add deprecator #297

merged 1 commit into from
May 17, 2023

Commits on May 17, 2023

  1. feat: add deprecator

    This utility adds deprecation comments to all exported types in a
    given module. It's intended to be used by Boxo maintainers when moving
    repos into Boxo.
    
    For example, if your module is "github.com/ipfs/go-unixfs", then
    checkout that repo and, in its root, run:
    
    deprecator --path github.com/ipfs/boxo/ipld/unixfs
    
    Then on the func "github.com/ipfs/go-unixfs/mod.NewDagModifier", the
    deprecator will add the following comment:
    
    // Deprecated: use github.com/ipfs/boxo/ipld/unixfs/mod.NewDagModifier
    guseggert authored and hacdias committed May 17, 2023
    Configuration menu
    Copy the full SHA
    084e09b View commit details
    Browse the repository at this point in the history