MCPcopy
hub / github.com/AlistGo/alist / getUA

Method getUA

drivers/cloudreve_v4/util.go:29–34  ·  view source on GitHub ↗

do others that not defined in Driver interface

()

Source from the content-addressed store, hash-verified

27// do others that not defined in Driver interface
28
29func (d *CloudreveV4) getUA() string {
30 if d.CustomUA != "" {
31 return d.CustomUA
32 }
33 return base.UserAgent
34}
35
36func (d *CloudreveV4) request(method string, path string, callback base.ReqCallback, out any) error {
37 if d.ref != nil {

Callers 4

requestMethod · 0.95
upRemoteMethod · 0.95
upOneDriveMethod · 0.95
upS3Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected