52 lines
2.1 KiB
Groff
52 lines
2.1 KiB
Groff
.\" Automatically generated by Pandoc 3.7.0.1
|
|
.\"
|
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
|
.SH NAME
|
|
\f[B]dfcache\f[R] \(em the P2P cache client of dragonfly
|
|
.SH SYNOPSIS
|
|
dfcache is the cache client to of dragonfly that communicates with
|
|
dfdaemon and operates on files in P2P network, where the P2P network
|
|
acts as a cache system.
|
|
.PP
|
|
The difference between dfcache and dfget is that, dfget downloads file
|
|
from a given URL, the file might be on other peers in P2P network or a
|
|
seed peer, it\(cqs the P2P network\(cqs responsibility to download file
|
|
from source; but dfcache could only export or download a file that has
|
|
been imported or added into P2P network by other peer, it\(cqs the
|
|
user\(cqs responsibility to go back to source and add file into P2P
|
|
network.
|
|
.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
|
|
\-h, \-\-help help for dfcache
|
|
\-\-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
|
|
.EE
|
|
.SH SEE ALSO
|
|
.IP \(bu 2
|
|
dfcache completion \- generate the autocompletion script for the
|
|
specified shell
|
|
.IP \(bu 2
|
|
dfcache delete \- delete file from P2P cache system
|
|
.IP \(bu 2
|
|
dfcache doc \- generate documents
|
|
.IP \(bu 2
|
|
dfcache export \- export file from P2P cache system
|
|
.IP \(bu 2
|
|
dfcache import \- import file into P2P cache system
|
|
.IP \(bu 2
|
|
dfcache plugin \- show plugin
|
|
.IP \(bu 2
|
|
dfcache stat \- stat checks if a file exists in P2P cache system
|
|
.IP \(bu 2
|
|
dfcache version \- show version
|
|
.SH BUGS
|
|
See GitHub Issues: \c
|
|
.UR https://github.com/dragonflyoss/dragonfly/issues
|
|
.UE \c
|