Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.35 KB

File metadata and controls

56 lines (43 loc) · 2.35 KB

desync info

Show information about an index

Synopsis

Displays information about the provided index, such as the number of chunks and the total size of unique chunks that are not available in the seed. If a store is provided, it'll also show how many of the chunks are present in the store. By providing a chunks info file, generated by 'inspect-chunks', additional information will be shown, like the size of compressed chunks not in the seed nor cache. If one or more seed indexes are provided, the number of chunks available in the seeds are also shown. Use '-' to read the index from STDIN.

desync info <index> [flags]

Examples

  desync info -s /path/to/local --format=json file.caibx
  desync info --seed http://192.168.1.1/rootfs2.caibx --chunks-info chunks.json --format=json rootfs.caibx

Options

      --ca-cert string                       trust authorities in this file, instead of OS trust store
  -c, --cache string                         store to be used as cache
  -r, --cache-repair                         replace invalid chunks in the cache from source (default true)
      --chunks-info string                   json file with additional chunks info
      --client-cert string                   path to client certificate for TLS authentication
      --client-key string                    path to client key for TLS authentication
  -n, --concurrency int                      number of concurrent goroutines (default 10)
  -e, --error-retry int                      number of times to retry in case of network error (default 3)
  -b, --error-retry-base-interval duration   initial retry delay, increases linearly with each subsequent attempt (default 500ms)
  -f, --format string                        output format, plain or json (default "json")
  -h, --help                                 help for info
      --seed strings                         seed indexes
  -s, --store strings                        source store(s)
  -t, --trust-insecure                       trust invalid certificates

Options inherited from parent commands

      --config string   config file (default $HOME/.config/desync/config.json)
      --digest string   digest algorithm, sha512-256 or sha256 (default "sha512-256")
      --verbose         verbose mode

SEE ALSO

  • desync - Content-addressed binary distribution system