package fileutils

  1. Overview
  2. Docs
exception MvError of string
type mv_error = [
  1. | `Exc of exn
  2. | `MvCp of FilePath.filename * FilePath.filename * string * FileUtilCP.cp_error
  3. | `MvRm of FilePath.filename * string * FileUtilRM.rm_error
  4. | `NoSourceFile
]
val mv : ?error: (string -> [ `Exc of exn | `MvCp of FilePath.filename * FilePath.filename * string * [ `CannotChmodDstDir of FilePath.filename * exn | `CannotCopyDir of FilePath.filename | `CannotCopyFilesToFile of FilePath.filename list * FilePath.filename | `CannotCreateDir of FilePath.filename * exn | `CannotListSrcDir of FilePath.filename * exn | `CannotOpenDstFile of FilePath.filename * exn | `CannotOpenSrcFile of FilePath.filename * exn | `CannotRemoveDstFile of FilePath.filename * exn | `DstDirNotDir of FilePath.filename | `ErrorRead of FilePath.filename * exn | `ErrorWrite of FilePath.filename * exn | `Exc of exn | `NoSourceFile of FilePath.filename | `PartialWrite of FilePath.filename * int * int | `SameFile of FilePath.filename * FilePath.filename | `UnhandledType of FilePath.filename * FileUtilTypes.kind ] | `MvRm of FilePath.filename * string * [ `DirNotEmpty of FilePath.filename | `Exc of exn | `NoRecurse of FilePath.filename ] | `NoSourceFile ] -> unit) -> ?force:FileUtilTypes.interactive -> FilePath.filename -> FilePath.filename -> unit
OCaml

Innovation. Community. Security.