Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

Use Fake.Tools.Git.Submodule instead

Submodule

Contains helper functions which allow to deal with git submodules.

Nested types and modules

TypeDescription
Submodule
OBSOLETE

Use Fake.Tools.Git.Submodule instead

This record represents a git submodule binding.

Functions and values

Function or valueDescription
add(...)
Signature: superRepositoryDir:string -> remotePath:string -> localPath:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.Submodule instead")>]
OBSOLETE

Use Fake.Tools.Git.Submodule instead

Adds a submodule to the given super repository.

Parameters

  • superRepositoryDir - The super repository.
  • remotePath - The path to the remote repository of the submodule.
  • localPath - The local path to the submodule.
  • branch - The branch to clone. (can be null)
getSubModules(repositoryDir)
Signature: repositoryDir:string -> seq<Submodule>
Attributes:
[<Obsolete("Use Fake.Tools.Git.Submodule instead")>]
OBSOLETE

Use Fake.Tools.Git.Submodule instead

Gets all submodules from the given repository directory.

init superRepositoryDir name
Signature: superRepositoryDir:string -> name:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.Submodule instead")>]
OBSOLETE

Use Fake.Tools.Git.Submodule instead

Inits a submodule with the given name in a subfolder of the given super repository.

Parameters

  • superRepositoryDir - The super repository.
  • name - The name of the new repository.
trimChars(s)
Signature: s:string -> string