• Felix Lange's avatar
    swarm/api: improve FUSE build constraints, logging and APIs (#3818) · 105b37f1
    Felix Lange authored
    * swarm/api: fix build/tests on unsupported platforms
    
    Skip FUSE tests if FUSE is unavailable and change build constraints so
    the 'lesser' platforms aren't mentioned explicitly. The test are
    compiled on all platforms to prevent regressions in _fallback.go
    
    Also gofmt -w -s because why not.
    
    * internal/web3ext: fix swarmfs wrappers
    
    Remove inputFormatter specifications so users get an error
    when passing the wrong number of arguments.
    
    * swarm/api: improve FUSE-related logging and APIs
    
    The API now returns JSON objects instead of strings.
    Log messages for invalid arguments are removed.
    105b37f1
swarmfs_fallback.go 1.37 KB