JS Utils Kit
    Preparing search index...

    Function getContentSize

    • Get the size (in bytes) of a file system resource.

      Parameters

      • path: PathLike

        Path to check

      Returns Promise<number>

      The size in bytes, or 0 if the path does not exist or cannot be accessed (failure).