Skip to content

Commit 445a98a

Browse files
Update GitODBBackend callback documentation
1 parent bf7940a commit 445a98a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/SwiftLibgit2/ODB-Backend-Advanced/ODB-Backend-Advanced-Structs.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public struct GitODBBackend: CStruct
238238
/// - backend: The object database backend to search.
239239
/// - id: The ID of the object for which to search.
240240
/// - Returns: Whether the specified object can be found in the given
241-
/// object database backend.
241+
/// object database backend, or an error code.
242242
public typealias Exists = @convention(c)
243243
(
244244
UnsafeMutablePointer<git_odb_backend>?,
@@ -258,7 +258,7 @@ public struct GitODBBackend: CStruct
258258
/// than or equal to ``gitOIDMinPrefixLen``, and long enough to identify
259259
/// a unique object matching the prefix.
260260
/// - Returns: Whether the specified object can be found in the given
261-
/// object database backend.
261+
/// object database backend, or an error code.
262262
public typealias ExistsPrefix = @convention(c)
263263
(
264264
UnsafeMutablePointer<git_oid>?,

0 commit comments

Comments
 (0)