MCPcopy Create free account
hub / github.com/rclone/rclone / Has

Method Has

lib/encoder/encoder.go:75–77  ·  view source on GitHub ↗

Has returns true if flag is contained in mask

(flag MultiEncoder)

Source from the content-addressed store, hash-verified

73
74// Has returns true if flag is contained in mask
75func (mask MultiEncoder) Has(flag MultiEncoder) bool {
76 return mask&flag != 0
77}
78
79// Encoder can transform names to and from the original and translated version.
80type Encoder interface {

Callers 2

EncodeMethod · 0.95
DecodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected