frostfs-node/pkg/morph/client
Evgenii Stratonikov c98357606b
[#1606] Use slices.Clone()/bytes.Clone() where possible
gopatch:
```
@@
var from, to expression
@@
+import "bytes"
-to := make([]byte, len(from))
-copy(to, from)
+to := bytes.Clone(from)

@@
var from, to expression
@@
+import "bytes"
-to = make([]byte, len(from))
-copy(to, from)
+to = bytes.Clone(from)

@@
var from, to, typ expression
@@
+import "slices"
-to := make([]typ, len(from))
-copy(to, from)
+to := slices.Clone(from)

@@
var from, to, typ expression
@@
+import "slices"
-to = make([]typ, len(from))
-copy(to, from)
+to = slices.Clone(from)
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-17 14:50:14 +03:00
..
balance [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
container [#1577] node/container: Fix typo 2024-12-28 12:05:01 +03:00
frostfs [#1535] morph: Unify client creation error messages 2024-12-04 09:50:20 +00:00
frostfsid [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
netmap [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
actor.go [#1431] node: Fix comment format 2024-10-15 08:53:59 +00:00
client.go [#1577] morph: Fix typo 2024-12-27 14:03:19 +03:00
constructor.go [#1437] node: Use ctx for logging 2024-11-13 10:36:07 +03:00
mtls.go [#1170] morph: Support mTLS 2024-06-14 09:26:27 +03:00
multi.go [#1606] Use slices.Clone()/bytes.Clone() where possible 2025-01-17 14:50:14 +03:00
multy_test.go [#587] Do not use math/rand.Read 2023-08-09 16:02:44 +03:00
nns.go [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
notary.go [#1558] morph/client: Reuse notary rpcclient wrapper 2024-12-12 15:30:12 +03:00
notifications.go [#893] go.mod: Update neo-go 2023-12-29 15:03:47 +00:00
static.go [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
util.go [#1558] morph/client: Remove "could not"/"can't"/"failed to" from error messages 2024-12-12 15:30:12 +03:00
util_test.go [#478] morph/client: Try to parse integer as a byte type 2021-04-15 17:53:08 +03:00
waiter.go [#1506] morph: Simplify WaitTxHalt() signature 2025-01-09 12:04:21 +00:00