[ https://issues.apache.org/jira/browse/IO-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory resolved IO-857. -------------------------------- Resolution: Information Provided [~ydmitrya] You must not have read the Javadoc: "Cleans a directory including subdirectories without deleting directories." If you want to delete directories, uses a "delete" method like "deleteDirectory", not a "clean" method. > PathUtils.cleanDirectory method does not erase subdirectories > ------------------------------------------------------------- > > Key: IO-857 > URL: https://issues.apache.org/jira/browse/IO-857 > Project: Commons IO > Issue Type: Bug > Components: Utilities > Affects Versions: 2.16.1 > Reporter: Dmitry > Priority: Minor > > The PathUtils.cleanDirectory method does not erase subdirectories. Only the > files in them. The FileUtils.cleanDirectory method erases everything except > the directory itself, and this is the expected behavior. -- This message was sent by Atlassian Jira (v8.20.10#820010)