mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-04-18 15:25:47 +00:00
xftp: server store log (#652)
This commit is contained in:
@@ -75,9 +75,9 @@ instance StrEncoding Str where
|
||||
strEncode = unStr
|
||||
strP = Str <$> A.takeTill (== ' ') <* optional A.space
|
||||
|
||||
instance StrEncoding FilePath where
|
||||
strEncode = strEncode
|
||||
strDecode = strDecode
|
||||
instance StrEncoding String where
|
||||
strEncode = strEncode . B.pack
|
||||
strP = B.unpack <$> strP
|
||||
|
||||
instance ToJSON Str where
|
||||
toJSON (Str s) = strToJSON s
|
||||
|
||||
Reference in New Issue
Block a user