0

Implement listing of repositories in registry

This commit is contained in:
eleksir
2023-12-09 12:56:11 +03:00
parent acc1a4571e
commit 7216384fae
7 changed files with 159 additions and 19 deletions

View File

@@ -93,7 +93,10 @@ sub utf2b64 {
}
my $bytes = encode_utf8 $string;
return encode_base64 $bytes;
my $str = encode_base64 $bytes;
chomp ($str);
return $str;
}
# Берёт от даденной строки sha1 и кодирует "по base64"