package b0

  1. Overview
  2. Docs
On This Page
  1. Path deletion
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Op.DeleteSource

Path deletion.

Path deletion

Sourcetype t

The type for path deletion operations.

Sourceval make_op : id:id -> mark:mark -> created:B0_std.Mtime.Span.t -> ?post_exec:(op -> unit) -> ?k:(op -> unit) -> B0_std.Fpath.t -> op

make_op declares a path deletion operation, see the corresponding accessors for the semantics of the various arguments.

Sourceval make : path:B0_std.Fpath.t -> t

make constructs a bare deletion operation.

Sourceval get : op -> t

get o is the delete operation o. Raises Invalid_argument if o is not a delete.

Sourceval path : t -> B0_std.Fpath.t

path d is the path to delete.