mise API - v0.0.0
    Preparing search index...

    Function dirSizes_compute

    • Accumulates per-directory sizes from a scan result, attributing each file's size to its ancestor directories up to (and including) the target path.

      Parameters

      • scanResult: ScanRecord

        The recursive scan result.

      • targetPath: string

        The directory being measured.

      • opts: DuOptions

        The du options (separateDirs / showAll affect attribution).

      Returns Map<string, number>

      A map of directory path to accumulated size.