public interface LocalRepoLoader
RepoPackages that are installed locally.| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,LocalPackage> |
getPackages(ProgressIndicator progress)
Gets our packages, loading them if necessary.
|
boolean |
needsUpdate(long lastLocalRefreshMs,
boolean deepCheck)
Checks whether it looks like we need to be reloaded.
|
@NonNull java.util.Map<java.lang.String,LocalPackage> getPackages(@NonNull ProgressIndicator progress)
progress - A ProgressIndicator used to show progress (unimplemented) and
logging.LocalPackage, containing all the packages found in
the given root.boolean needsUpdate(long lastLocalRefreshMs,
boolean deepCheck)
lastLocalRefreshMs - The last time a load was donedeepCheck - How vigorously to check. If false, the check should be quite fast.
If true it should still be reasonably fast, but less so.true if a reload is needed, false otherwise.