Skip to content

Commit a6856a6

Browse files
Replace "NULL" with "nil" in documentation
1 parent f9af848 commit a6856a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/SwiftLibgit2/Diff/Diff-Functions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ public func gitDiffToBuf(
662662
///
663663
/// Since a blob lacks some contextual information compared to a file,
664664
/// the `git_diff_file` given to the callback will include some placeholder
665-
/// data. For example, `mode` will be `0` and `path` will be `NULL`.
665+
/// data. For example, `mode` will be `0` and `path` will be `nil`.
666666
///
667667
/// Either `oldBlob` or `newBlob` may be `nil`. If both are `nil`, this
668668
/// function will do nothing.
@@ -737,7 +737,7 @@ public func gitDiffBlobs(
737737
///
738738
/// Since a blob lacks some contextual information compared to a file,
739739
/// the `git_diff_file` given to the callback will include some placeholder
740-
/// data. For example, `mode` will be `0` and `path` will be `NULL`.
740+
/// data. For example, `mode` will be `0` and `path` will be `nil`.
741741
///
742742
/// - Parameters:
743743
/// - oldBlob: The old blob to use in the diff operation. The underlying type
@@ -810,7 +810,7 @@ public func gitDiffBlobToBuffer(
810810
///
811811
/// Since a blob lacks some contextual information compared to a file,
812812
/// the `git_diff_file` given to the callback will include some placeholder
813-
/// data. For example, `mode` will be `0` and `path` will be `NULL`.
813+
/// data. For example, `mode` will be `0` and `path` will be `nil`.
814814
///
815815
/// - Parameters:
816816
/// - oldBuffer: The raw data for the old side of the diff.

0 commit comments

Comments
 (0)