1(** GPX Unix I/O operations *) 2 3open Gpx.Types 4 5(** Read GPX from file *) 6val read_file : string -> gpx result 7 8(** Write GPX to file *) 9val write_file : string -> gpx -> unit result 10 11(** Read GPX from stdin *) 12val read_stdin : unit -> gpx result 13 14(** Write GPX to stdout *) 15val write_stdout : gpx -> unit result 16 17(** Read GPX from file with validation *) 18val read_file_validated : string -> gpx result 19 20(** Write GPX to file with validation *) 21val write_file_validated : string -> gpx -> unit result 22 23(** Check if file exists and is readable *) 24val file_exists : string -> bool 25 26(** Get file size *) 27val file_size : string -> int result 28 29(** Create backup of file before overwriting *) 30val create_backup : string -> string result 31 32(** Write GPX to file with backup *) 33val write_file_with_backup : string -> gpx -> string result