FileManager

Undocumented

  • Mechanica

    Returns the container directory associated with the specified security application group Identifier.

    Declaration

    Swift

    public final func containerDirectory(for groupIdentifier: String) -> URL?
  • Mechanica

    Cleans all contents in a directory path.

    Throws

    throws an error in cases of failure.

    Declaration

    Swift

    public final func cleanDirectory(atPath path: String) throws
  • Mechanica

    Destroys a file or a directory at a given path; throws an error in cases of failure.

    Declaration

    Swift

    public final func destroyFileOrDirectory(atPath path: String) throws