(** GPX Unix I/O operations *) open Gpx (** Read GPX from file *) val read_file : ?validate:bool -> string -> (t, Gpx.error) result (** Write GPX to file *) val write_file : ?validate:bool -> string -> t -> (unit, Gpx.error) result (** Read GPX from stdin *) val read_stdin : ?validate:bool -> unit -> (t, Gpx.error) result (** Write GPX to stdout *) val write_stdout : ?validate:bool -> t -> (unit, Gpx.error) result (** Check if file exists and is readable *) val file_exists : string -> bool (** Get file size *) val file_size : string -> (int, Gpx.error) result (** Create backup of file before overwriting *) val create_backup : string -> (string, Gpx.error) result (** Write GPX to file with backup *) val write_file_with_backup : ?validate:bool -> string -> t -> (string, Gpx.error) result