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

Method FileCleared

ent/mutation.go:1352–1354  ·  view source on GitHub ↗

FileCleared reports if the "file" edge to the File entity was cleared.

()

Source from the content-addressed store, hash-verified

1350
1351// FileCleared reports if the "file" edge to the File entity was cleared.
1352func (m *DirectLinkMutation) FileCleared() bool {
1353 return m.clearedfile
1354}
1355
1356// FileIDs returns the "file" edge IDs in the mutation.
1357// Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected