MCPcopy
hub / github.com/rclone/rclone / Fs

Struct Fs

backend/doi/doi.go:110–123  ·  view source on GitHub ↗

Fs stores the interface to the remote HTTP files

Source from the content-addressed store, hash-verified

108
109// Fs stores the interface to the remote HTTP files
110type Fs struct {
111 name string // name of this remote
112 root string // the path we are working on
113 provider Provider // the DOI provider
114 doiProvider doiProvider // the interface used to interact with the DOI provider
115 features *fs.Features // optional features
116 opt Options // options for this backend
117 ci *fs.ConfigInfo // global config
118 endpoint *url.URL // the main API endpoint for this remote
119 endpointURL string // endpoint as a string
120 srv *rest.Client // the connection to the server
121 pacer *fs.Pacer // pacer for API calls
122 cache *cache.Cache // a cache for the remote metadata
123}
124
125// Object is a remote object that has been stat'd (so it exists, but is not necessarily open for reading)
126type Object struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected