docomet
    Preparing search index...

    Class DocometStat

    Stat

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionalvalue: any

      Returns DocometStat

    Methods

    • Checks the last modified time of a file

      Parameters

      • olderPath: string

        Path to the older file

      • newerPath: string

        Path to the newer file

      Returns void

    • Gets the last modified time of a file

      Parameters

      • path: string

        Path of the file to get the last modified time

      Returns Date | undefined

      Last modified time of the file. Returns undefined if it cannot be retrieved

    • Determines if a file needs to be updated

      Parameters

      • olderPath: string

        Path to the older file

      • newerPath: string

        Path to the newer file

      Returns boolean

      True if an update is needed, otherwise false