Skip to content
Snippets Groups Projects
Select Git revision
  • 32ceaa61e81a7e0e9d53ea3a9a78e4f101fb58ea
  • main default protected
2 results

test

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Stephen Whitmore authored
    Fixes ipfs/go-ipfs#2155 by turning the hash path arguments into keys
    and unpinning directly, rather than running a full core.Resolve on
    them. This lets users fail fast when they try to remove pins that
    they don't have locally.
    
    Note that this will only work when the path is of the form <hash> or
    /ipfs/<hash>. Given e.g. /ipfs/<hash>/foo, foo's key cannot be known
    without first resolving <hash>, which may involve talking to the
    network.
    
    License: MIT
    Signed-off-by: default avatarStephen Whitmore <noffle@ipfs.io>
    32ceaa61
    History

    Sharness test command coverage

    Module Online Test Offline Test
    object t0051 t0051
    ls t0045 t0045
    cat t0040
    dht
    bitswap
    block t0050
    daemon t0030 N/A
    init N/A t0020
    add t0040
    config t0021 t0021
    version t0060 t0010
    ping
    diag
    mount t0030
    name t0110 t0100
    pin t0080
    get t0090 t0090
    refs t0080
    repo gc t0080
    id
    bootstrap t0120 t0120
    swarm
    update
    commands