Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FileUtils

    File utilities.

    Inheritance
    object
    FileUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Benchmarks.ByTask.Utils
    Assembly: Lucene.Net.Benchmark.dll
    Syntax
    public static class FileUtils

    Methods

    FullyDelete(DirectoryInfo)

    Delete files and directories, even if non-empty.

    Declaration
    public static bool FullyDelete(DirectoryInfo dir)
    Parameters
    Type Name Description
    DirectoryInfo dir

    File or directory.

    Returns
    Type Description
    bool

    true on success, false if no or part of files have been deleted.

    Exceptions
    Type Condition
    IOException

    If there is a low-level I/O error.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.