dragonfly/build/package/docs/dfcache/dfcache-stat.1

29 lines
1.2 KiB
Groff

.\" Automatically generated by Pandoc 3.7.0.1
.\"
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
.SH NAME
\f[B]dfcache stat\f[R] \(em stat checks if a file exists in P2P cache
system
.SH SYNOPSIS
Stat checks if a file exists in P2P cache system.
.IP
.EX
dfcache stat <\-i cid> [flags]
.EE
.SS OPTIONS
.IP
.EX
\-i, \-\-cid string content or cache ID, e.g. sha256 digest of the content
\-\-config string the path of configuration file with yaml extension name, default is /etc/dragonfly/dfcache.yaml, it can also be set by env var: DFCACHE_CONFIG
\-\-console whether logger output records to the stdout
\-\-logdir string Dfcache log directory
\-t, \-\-tag string different tags for the same cid will be recognized as different files in P2P network
\-\-timeout duration Timeout for this cache operation, 0 is infinite
\-\-workhome string Dfcache working directory
\-h, \-\-help help for stat
\-l, \-\-local only check task exists locally, and don\(aqt check other peers in P2P network
.EE
.SH SEE ALSO
.IP \(bu 2
dfcache \- the P2P cache client of dragonfly