remove

Remove the files and folders listed in the provided paths. Where folders are listed, they should be preceded by their contained files in order to be successfully removed. Returns a set of paths that failed to be removed (where .length is zero upon success).

The collate() function can be used to provide the input paths:

remove (collate (".", "*.d", true));

Use with great caution.

Note: May allocate memory.

  1. bool remove(const(char)[] name)
  2. char[][] remove(char[][] paths)
    char[][]
    remove
    (
    char[][] paths
    )

Meta

Since

0.99.9