method

to_lock

to_lock()
public

Generates the content to be entered into the lockfile. Saves type and remote and also calls to `options_to_lock`.

Plugin should use `options_to_lock` to save information in lockfile and not override this.

Note: Do not override if you don’t know what you are doing.