mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-03-07 02:07:22 +01:00
Throw restrict
This commit is contained in:
@@ -33,7 +33,7 @@ final class OpenSSHReader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func readNextChunkAsString() throws -> String {
|
func readNextChunkAsString() throws(OpenSSHReaderError) -> String {
|
||||||
try String(decoding: readNextChunk(), as: UTF8.self)
|
try String(decoding: readNextChunk(), as: UTF8.self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user