crossnote
    Preparing search index...

    Function loadConfigsInDirectory

    • Load the configs from the given directory path. If the directory does not exist and createDirectoryIfNotExists is true, create it and return the default configs.

      Parameters

      • directoryPath: string
      • fileSystem: FileSystemApi
      • createDirectoryIfNotExists: boolean = false

      Returns Promise<Partial<NotebookConfig>>