You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/02/02 08:12:19 UTC

[jira] Updated: (HADOOP-6531) add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory

     [ https://issues.apache.org/jira/browse/HADOOP-6531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HADOOP-6531:
--------------------------------------------

    Attachment: patch-6531.txt

Patch adding the api.

> add FileUtil.fullyDeleteContents(dir) api to delete contents of a directory
> ---------------------------------------------------------------------------
>
>                 Key: HADOOP-6531
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6531
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: fs
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Minor
>             Fix For: 0.22.0
>
>         Attachments: patch-6531.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.