Skip to content

submoduleSetIgnore

Set the ignore rule for the submodule in the configuration

This does not affect any currently-loaded instances.

Signature

ts
class Repository {
  submoduleSetIgnore(name: string, ignore: SubmoduleIgnore): void;
}

Parameters

  • namerequired · string

    The name of the submodule.

  • ignorerequired · SubmoduleIgnore

    The new value for the ignore rule.

    Submodule ignore values

    These values represent settings for the submodule.$name.ignore
    configuration value which says how deeply to look at the working
    directory when getting the submodule status.

Released under the MIT License.