package rashell

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type file_kind = Unix.file_kind =
  1. | S_REG
  2. | S_DIR
  3. | S_CHR
  4. | S_BLK
  5. | S_LNK
  6. | S_FIFO
  7. | S_SOCK
type file_perm = Unix.file_perm
type stats = Unix.stats = {
  1. st_dev : int;
  2. st_ino : int;
  3. st_kind : file_kind;
  4. st_perm : file_perm;
  5. st_uid : int;
  6. st_gid : int;
  7. st_rdev : int;
  8. st_size : int;
  9. st_atime : float;
  10. st_mtime : float;
  11. st_ctime : float;
}
type predicate =
  1. | Prune
  2. | Has_kind of file_kind
  3. | Has_suffix of string
  4. | Is_owned_by_user of int
  5. | Is_owned_by_group of int
  6. | Name of string
  7. | And of predicate list
  8. | Or of predicate list
  9. | Not of predicate
val find : ?workdir:string -> ?env:string array -> ?follow:bool -> ?depthfirst:bool -> ?onefilesystem:bool -> predicate -> string list -> string Lwt_stream.t
val cp : ?workdir:string -> ?env:string array -> ?follow:bool -> ?force:bool -> ?recursive:bool -> string list -> string -> string Lwt_stream.t
val rm : ?workdir:string -> ?env:string array -> ?force:bool -> ?recursive:bool -> string list -> string Lwt_stream.t
val mv : ?workdir:string -> ?env:string array -> ?force:bool -> string list -> string -> string Lwt_stream.t
val sed : ?workdir:string -> ?env:string array -> ?echo:bool -> string -> string list -> string Lwt_stream.t
val sed_inplace : ?workdir:string -> ?env:string array -> ?suffix:string -> string -> string list -> unit Lwt.t
val sed_filter : ?workdir:string -> ?env:string array -> ?echo:bool -> string -> string Lwt_stream.t -> string Lwt_stream.t
val awk : ?workdir:string -> ?env:string array -> ?fs:string -> ?bindings:(string * string) list -> string -> string list -> string Lwt_stream.t
val awk_filter : ?workdir:string -> ?env:string array -> ?fs:string -> ?bindings:(string * string) list -> string -> string Lwt_stream.t -> string Lwt_stream.t
OCaml

Innovation. Community. Security.