MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / IsMaster

Method IsMaster

pkg/cluster/node.go:353–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

351}
352
353func (b *nodeBase) IsMaster() bool {
354 return b.model.Type == node.TypeMaster
355}
356
357func (b *nodeBase) CreateTask(ctx context.Context, taskType string, state string) (int, error) {
358 return 0, errors.New("not implemented")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected