package stdune
package stdune
-
dune_filesystem_stubs
-
stdune
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type t = w Local_gen.t
val hash : t -> int
val to_string : t -> string
val of_string : string -> t
val parse_string_exn : loc:Stdune__.Loc0.t -> string -> t
a directory is smaller than its descendants
include Comparator.S with type t := t
val compare : t -> t -> Ordering.t
val extension : t -> string
map_extension path ~f
replaces extension of path
by f extension
val basename : t -> Filename.t
val basename_opt : t -> Filename.t option
val extend_basename : t -> suffix:Filename.t -> t
module Set : sig ... end
val to_string_maybe_quoted : t -> string
val is_root : t -> bool
val root : t
module L : sig ... end
val split_first_component : t -> (Filename.t * Local.t) option
val explode : t -> Filename.t list
val extract_build_context : t -> (Filename.t * Source.t) option
Source.t
here is a lie in some cases: consider when the context name happens to be "install"
or ".alias"
.
val extract_build_context_exn : t -> Filename.t * Source.t
val extract_first_component : t -> (Filename.t * Local.t) option
This function does the same as extract_build_context
, but has a "righter" type.
val set_build_dir : Outside_build_dir.t -> unit
Set the build directory. Can only be called once and must be done before paths are converted to strings elsewhere.
val chmod : t -> mode:int -> unit
Set permissions for a given path. You can use the Permissions
module if you need to modify existing permissions in a non-trivial way.
val lstat : t -> Unix.stats
val unlink_no_err : t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>