typo
This commit is contained in:
parent
0767e9c0c1
commit
16e972c148
2
funcs.go
2
funcs.go
@ -118,7 +118,7 @@ func pathsFromPath(bus dbus.BusObject, path string) (paths []dbus.ObjectPath, er
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
NameFromPath returns an actual name (as it appears in Dbus) from a dbus.ObjectPath.
|
NameFromPath returns an actual name (as it appears in Dbus) from a dbus.ObjectPath.
|
||||||
Note that you can get any object's dbus.ObjectPath via <object.Dbus.Path().
|
Note that you can get any object's dbus.ObjectPath via <object>.Dbus.Path().
|
||||||
path is validated to ensure it is not an empty string.
|
path is validated to ensure it is not an empty string.
|
||||||
*/
|
*/
|
||||||
func NameFromPath(path dbus.ObjectPath) (name string, err error) {
|
func NameFromPath(path dbus.ObjectPath) (name string, err error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user