This is set through the [--connect] command line option. *)
+val pretty_string_of_exn : exn -> string * string
+ (** Pretty string from exception.
+
+ Returns a title and a detailed message, for use in message dialogs.
+
+ To get raw exception string, use {!Printexc.to_string} from the
+ standard library. *)
+
val utf8_rarrow : string (** UTF-8 RIGHTWARDS ARROW *)
val human_size : int64 -> string
val local_file_exists : string -> bool
(** Returns true if the (local) file exists. *)
+
+val basename : string -> string
+ (** Get the basename of a file, using path conventions which are valid
+ for libguestfs. So {!Filename.basename} won't necessarily work
+ because it will use host path conventions. *)
+
+val extension : string -> string
+ (** Get the extension of a file using libguestfs path conventions,
+ including the leading point (eg. [.txt]). Might return an empty
+ string if there is no extension. *)