| commit | f6683b81b427bf4a0b6772db99cf5f09a7891772 | [log] [tgz] | 
|---|---|---|
| author | Piotr P. Karwasz <pkarwasz-github@apache.org> | Thu Oct 02 14:23:24 2025 +0200 | 
| committer | Piotr P. Karwasz <pkarwasz-github@apache.org> | Thu Oct 02 14:23:24 2025 +0200 | 
| tree | 4139083845181e14597e7e28c48de38f5f01a23f | |
| parent | 8b486d47d8da83e5caec6716e1cde7e5030ed7f6 [diff] | 
fix: prefer POSIX to DOS attributes when both are available On Linux/Unix, both POSIX and DOS attribute views may be supported, while on Windows only DOS attributes are available. Check for POSIX first to ensure the correct view is used across platforms.
The Apache Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more.
More information can be found on the Apache Commons IO homepage. The Javadoc can be browsed. Questions related to the usage of Apache Commons IO should be posted to the user mailing list.
You can download source and binaries from our download page.
Alternatively, you can pull it from the central Maven repositories:
<dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.20.0</version> </dependency>
Building requires a Java JDK and Apache Maven. The required Java version is found in the pom.xml as the maven.compiler.source property.
From a command shell, run mvn without arguments to invoke the default Maven goal to run all tests and checks.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors. There are some guidelines which will make applying PRs easier for us:
mvn.mvn (by itself), this runs the default goal, which contains all build checks.mvn clean site -Dcommons.jacoco.haltOnFailure=false -PjacocoIf you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
This code is licensed under the Apache License v2.
See the NOTICE.txt file for required notices and attributions.
You like Apache Commons IO? Then donate back to the ASF to support development.
Please see the list of components