svsmate - v1.1.1
    Preparing search index...

    Function getFile

    • Returns the absolute path of a managed file. The file is created lazily with defaultContent (JSON-stringified) only when it does not exist yet.

      Parameters

      • key: FileKey

        File identifier.

      • defaultContent: unknown = {}

        Initial JSON content used on first run.

      Returns string

      Absolute file path.