mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Add identity hashcode to File
This commit is contained in:
parent
d665859261
commit
ef5b2a0d70
1 changed files with 3 additions and 0 deletions
|
@ -522,6 +522,9 @@ extension FileExtension on File {
|
|||
}
|
||||
}
|
||||
|
||||
/// hashCode to be used with [compareServerIdentity]
|
||||
int get identityHashCode => (fileId ?? path).hashCode;
|
||||
|
||||
static final _log = Logger("entity.file.FileExtension");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue