Skip to content

Commit

Permalink
Remove an unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
CosynPa committed Dec 7, 2018
1 parent 977bf9c commit abd72ca
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Source/CarthageKit/Git.swift
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,6 @@ public func checkoutRepositoryToDirectory(
.then(SignalProducer<(), CarthageError>.empty)
}

/// Recursively checks out the given submodule's revision, in its working
/// directory.
public func checkoutSubmodule(_ submodule: Submodule, _ submoduleWorkingDirectoryURL: URL) -> SignalProducer<(), CarthageError> {
return launchGitTask([ "checkout", "--quiet", submodule.sha ], repositoryFileURL: submoduleWorkingDirectoryURL)
.then(launchGitTask([ "submodule", "--quiet", "update", "--init", "--recursive" ], repositoryFileURL: submoduleWorkingDirectoryURL))
.then(SignalProducer<(), CarthageError>.empty)
}

/// Parses each key/value entry from the given config file contents, optionally
/// stripping a known prefix/suffix off of each key.
private func parseConfigEntries(_ contents: String, keyPrefix: String = "", keySuffix: String = "") -> SignalProducer<(String, String), NoError> {
Expand Down

0 comments on commit abd72ca

Please sign in to comment.