We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43219a7 commit 6cae7aeCopy full SHA for 6cae7ae
1 file changed
devstate.go
@@ -59,8 +59,10 @@ func LoadDevState(ident, comment string) *DevState {
59
60
// LoadUsedPorts loads ports used by some of devices.
61
//
62
-// The returned map contains one entry per used port. Value of this
63
-// entry is a human-readable string, reasonable for logging
+// The returned map contains one entry per used port. The presence
+// of entry indicates that port is in use. The associated value is
64
+// the human-readable string, that explains who uses the port. This
65
+// string is suitable for logging purposes.
66
func LoadUsedPorts() (ports map[int]string) {
67
ports = make(map[int]string)
68
0 commit comments