Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* I’m not entirely sure, but there might be cases where `file_path` is a directory, i.e. `file_size` would be `None` in that case. * The code didn’t cover the case where the entity already has a `fileSize` property. In this case, `file_size` would be `None`, even though `file_path` is a file. I’m not entirely sure when this happens, probably when reingesting an existing file. Both cases were catched by tests :)
- Loading branch information