Skip to content

Commit

Permalink
Add missing documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Palleas committed Feb 4, 2017
1 parent 2c51f68 commit 6cf6ac9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tentacle/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ public final class Client {
return fetchOne(.content(owner: repository.owner, repository: repository.name, path: path, ref: ref))
}

/// Create a file in a repository
public func create(file: File, atPath path: String, in repository: Repository, in branch: String? = nil) -> SignalProducer<(Response, FileResponse), Error> {
return send(file, to: .content(owner: repository.owner, repository: repository.name, path: path, ref: branch), using: .put)
}
Expand Down

0 comments on commit 6cf6ac9

Please sign in to comment.