Cotal TypeScript packages
    Preparing search index...

    Function seedConnectorServers

    • Record servers as what connector shares, in the operator-level cotal config, unless that file already declares a list for it: an existing list, even an empty one, is the operator's choice and is kept. Every other key in the file is preserved. Returns whether it wrote.

      The file is global, so setups run from two folders can seed at once. A lock held from the read to the rename makes the second one find the first one's list, and the rename means a spawn reading the file never sees it half-written.

      Parameters

      Returns boolean