GLib.path_skip_root

function path_skip_root(file_name: String): String {
    // Gjs wrapper for g_path_skip_root()
}
  

Returns a pointer into file_name after the root component, i.e. after the "/" in UNIX or "C:\" under Windows. If file_name is not an absolute path it returns null.

file_name

a file name

Returns

a pointer into file_name after the root component