Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getTotalSpace (0.11 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            return Arrays.stream(File.listRoots()).map(f -> {
                final FsObj fsObj = new FsObj();
                fsObj.path = f.getAbsolutePath();
                fsObj.free = f.getFreeSpace();
                fsObj.total = f.getTotalSpace();
                fsObj.usable = f.getUsableSpace();
                fsObj.used = fsObj.total - fsObj.usable;
                fsObj.percent = (short) (100 * fsObj.used / fsObj.total);
                return fsObj;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top