It is useful to have a isLocal() method in FileRepo, to check easily, if a repo is the local repo.
Version: unspecified
Severity: enhancement
Umherirrender | |
May 25 2010, 5:53 PM |
F6984: bug23666-2.patch | |
Nov 21 2014, 11:12 PM |
It is useful to have a isLocal() method in FileRepo, to check easily, if a repo is the local repo.
Version: unspecified
Severity: enhancement
Created attachment 7406
patch to move isLocal from File to FileRepo
Thanks.
attachment bug23666.patch ignored as obsolete
What's the use case for this? Where would you have a FileRepo object that you need to know local/non-local, but you're not already using some file?
The method FileRepo::getDisplayName() can use this method.
With this method in FileRepo there is only one check of 'local' and not two hardcoded strings.