GetEntityByID returns an entity by its ID.
(ctx context.Context, id int)
| 171 | GetEntitiesByIDs(ctx context.Context, ids []int, page int) ([]*ent.Entity, int, error) |
| 172 | // GetEntityByID returns an entity by its ID. |
| 173 | GetEntityByID(ctx context.Context, id int) (*ent.Entity, error) |
| 174 | // Rename renames a file |
| 175 | Rename(ctx context.Context, original *ent.File, newName string) (*ent.File, error) |
| 176 | // SetParent sets parent of group of files |