package stdune

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Represent a path component.

A path component is just a string without a '/' character.

include module type of struct include Stdlib.Filename end
val current_dir_name : string
val parent_dir_name : string
val dir_sep : string
val concat : string -> string -> string
val is_relative : string -> bool
val is_implicit : string -> bool
val check_suffix : string -> string -> bool
val chop_suffix : string -> string -> string
val chop_suffix_opt : suffix:string -> string -> string option
val extension : string -> string
val remove_extension : string -> string
val basename : string -> string
val dirname : string -> string
val null : string
val temp_file : ?temp_dir:string -> string -> string -> string
val open_temp_file : ?mode:Stdlib.open_flag list -> ?perms:int -> ?temp_dir:string -> string -> string -> string * Stdlib.out_channel
val temp_dir : ?temp_dir:string -> ?perms:int -> string -> string -> string
val get_temp_dir_name : unit -> string
val set_temp_dir_name : string -> unit
val quote : string -> string
val quote_command : string -> ?stdin:string -> ?stdout:string -> ?stderr:string -> string list -> string
type t = string
module Extension : sig ... end
val split_extension : t -> string * Extension.t
val split_extension_after_dot : t -> string * string
type program_name_kind =
  1. | In_path
  2. | Relative_to_current_dir
  3. | Absolute
val analyze_program_name : t -> program_name_kind
val equal : t -> t -> bool
val compare : t -> t -> Ordering.t
val chop_extension : [ `Use_remove_extension ]
module Set = String.Set
module Map = String.Map
OCaml

Innovation. Community. Security.