package file_path
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A library for typed manipulation of UNIX-style file paths
Install
dune-project
Dependency
Authors
Maintainers
Sources
file_path-v0.15.0.tar.gz
sha256=4c44185450fffa919bf900db1b54f2788f6831048997df390ef3bcf58395c41c
doc/file_path.file_path_unix_async/File_path_unix_async/index.html
Module File_path_unix_asyncSource
include S
include File_path_io.S with type 'a io := 'a Async.Deferred.t
The currently running executable.
OCaml semantics do not guarantee an absolute path here.
File I/O Wrappers
These functions abstract over either In_channel and Out_channel, or Async.Reader and Async.Writer.
Source
val save_as_sexps :
File_path.t ->
'a list ->
sexp_of:('a -> Core.Sexp.t) ->
unit Async.Deferred.tFilename Wrappers
These functions abstract over Filename_unix.
Source
val realpath :
File_path.t ->
relative_to:File_path.Absolute.t ->
File_path.Absolute.t Async.Deferred.tSys Wrappers
These functions abstract over either Core.Sys or Async.Sys.
Unix Wrappers
These functions abstract over either Core_unix or Async.Unix.
Current Directory Functions
These functions combine File_path and getcwd.
Like File_path.make_absolute ~under:(getcwd ()). Avoids calling getcwd unless necessary.
Like File_path.make_relative ~if_under:(getcwd ()). Avoids calling getcwd unless necessary.
Like make_relative_to_cwd. Raises instead of returning None.
Like make_relative_to_cwd. Returns the original path instead of None.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>