Gio.UnixSocketAddress.prototype.get_path

function get_path(): String {
    // Gjs wrapper for g_unix_socket_address_get_path()
}
  

Gets address's path, or for abstract sockets the "name".

Guaranteed to be zero-terminated, but an abstract socket may contain embedded zeros, and thus you should use Gio.UnixSocketAddress.prototype.get_path_len to get the true length of this string.

Since 2.22

Returns

the path for address