FileIDs returns the "file" edge IDs in the mutation. Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use FileID instead. It exists only for internal usage by the builders.
()
| 1357 | // Note that IDs always returns len(IDs) <= 1 for unique edges, and you should use |
| 1358 | // FileID instead. It exists only for internal usage by the builders. |
| 1359 | func (m *DirectLinkMutation) FileIDs() (ids []int) { |
| 1360 | if id := m.file; id != nil { |
| 1361 | ids = append(ids, *id) |
| 1362 | } |
| 1363 | return |
| 1364 | } |
| 1365 | |
| 1366 | // ResetFile resets all changes to the "file" edge. |
| 1367 | func (m *DirectLinkMutation) ResetFile() { |
nothing calls this directly
no outgoing calls
no test coverage detected