Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6531

add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.21.0
    • fs
    • None
    • Reviewed
    • Added an api FileUtil.fullyDeleteContents(String dir) to delete contents of the directory.

    Description

      Add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory, not directory itself. This will be useful if we want to clear the contents of cwd.

      Attachments

        1. patch-6531-3.txt
          6 kB
          Amareshwari Sriramadasu
        2. patch-6531-2.txt
          4 kB
          Amareshwari Sriramadasu
        3. patch-6531-1.txt
          4 kB
          Amareshwari Sriramadasu
        4. patch-6531.txt
          4 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            People

              amareshwari Amareshwari Sriramadasu
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: