add binary as input to hash commands (#13923)

# Description

This allows `hash sha256` to support binary input. The code was there
but the signature wasn't.

closes #13916
This commit is contained in:
Darren Schroeder 2024-09-25 03:47:52 -05:00 committed by GitHub
parent 71d604067a
commit 63f9e273b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,7 @@ where
.category(Category::Hash) .category(Category::Hash)
.input_output_types(vec![ .input_output_types(vec![
(Type::String, Type::Any), (Type::String, Type::Any),
(Type::Binary, Type::Any),
(Type::table(), Type::table()), (Type::table(), Type::table()),
(Type::record(), Type::record()), (Type::record(), Type::record()),
]) ])