@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function corpusDiskUsage

    • What the corpus takes on disk: every file under blobs/, records/ and index/ is listed and its size read (nothing is opened), so on a large corpus this costs one stat per file — which is why ka stats only does it when asked (--disk). Platform files (isPlatformFile) are not counted.

      Parameters

      Returns CorpusDiskUsage