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

Method PasswordCleared

ent/mutation.go:11711–11714  ·  view source on GitHub ↗

PasswordCleared returns if the "password" field was cleared in this mutation.

()

Source from the content-addressed store, hash-verified

11709
11710// PasswordCleared returns if the "password" field was cleared in this mutation.
11711func (m *ShareMutation) PasswordCleared() bool {
11712 _, ok := m.clearedFields[share.FieldPassword]
11713 return ok
11714}
11715
11716// ResetPassword resets all changes to the "password" field.
11717func (m *ShareMutation) ResetPassword() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected