mirror of
https://github.com/safing/portbase
synced 2025-09-04 11:40:23 +00:00
Improve documentation
This commit is contained in:
parent
7f749464dc
commit
a9dffddd7e
1 changed files with 6 additions and 2 deletions
|
@ -43,8 +43,12 @@ type ResourceRegistry struct {
|
||||||
// version. Even if false, a pre-release version will still be used if it is
|
// version. Even if false, a pre-release version will still be used if it is
|
||||||
// defined as the current version by an index.
|
// defined as the current version by an index.
|
||||||
UsePreReleases bool
|
UsePreReleases bool
|
||||||
DevMode bool
|
|
||||||
Online bool
|
// DevMode specifies if a local 0.0.0 version should be always chosen, when available.
|
||||||
|
DevMode bool
|
||||||
|
|
||||||
|
// Online specifies if resources may be downloaded if not available locally.
|
||||||
|
Online bool
|
||||||
|
|
||||||
// StateNotifyFunc may be set to receive any changes to the registry state.
|
// StateNotifyFunc may be set to receive any changes to the registry state.
|
||||||
// The specified function may lock the state, but may not block or take a
|
// The specified function may lock the state, but may not block or take a
|
||||||
|
|
Loading…
Add table
Reference in a new issue