Module Op.DeleteSource

Path deletion.

Path deletion

Sourcetype t

The type for path deletion operations.

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

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

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

v 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.