FilePath returns the value of the "file_path" field in the mutation.
()
| 10003 | |
| 10004 | // FilePath returns the value of the "file_path" field in the mutation. |
| 10005 | func (m *StorageFileMutation) FilePath() (r string, exists bool) { |
| 10006 | v := m.file_path |
| 10007 | if v == nil { |
| 10008 | return |
| 10009 | } |
| 10010 | return *v, true |
| 10011 | } |
| 10012 | |
| 10013 | // OldFilePath returns the old "file_path" field's value of the StorageFile entity. |
| 10014 | // If the StorageFile object wasn't provided to the builder, the object is fetched from the database. |