mirror of
https://github.com/maxgoedjen/secretive.git
synced 2025-09-15 08:50:57 +00:00
Throw restrict
This commit is contained in:
parent
53296ed166
commit
e5578260e9
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user