@nextcloud/paths
    Preparing search index...

    Function extname

    • Get the file extension of the given path

      Parameters

      • path: string

        The path to get the extension of

      Returns string