diff options
| author | 2026-03-29 10:22:19 +0000 | |
|---|---|---|
| committer | 2026-03-29 10:22:19 +0000 | |
| commit | cdac77529a3f7416843b1d455d413c9b0f21cfff (patch) | |
| tree | 274775de36c302716f43efdaffbb00ca5f3070f9 /network/receivepack/service/command.go | |
| parent | object/id: Split files (diff) | |
| signature | No signature | |
object/id: Zero is a property of the algorithm v0.1.140
Diffstat (limited to 'network/receivepack/service/command.go')
| -rw-r--r-- | network/receivepack/service/command.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/receivepack/service/command.go b/network/receivepack/service/command.go index 0fd8961e..4d234214 100644 --- a/network/receivepack/service/command.go +++ b/network/receivepack/service/command.go @@ -22,7 +22,7 @@ func fillCommandErrors(result *Result, commands []Command, errText string) { } func isDelete(command Command) bool { - return command.NewID == objectid.Zero(command.NewID.Algorithm()) + return command.NewID == command.NewID.Algorithm().Zero() } func objectIDPointer(id objectid.ObjectID) *objectid.ObjectID { |
