mirror of
https://github.com/simplex-chat/simplexmq.git
synced 2026-11-13 00:38:06 +00:00
xftp: server store log (#652)
This commit is contained in:
1 parent
3ab5e9d110
commit
202922bceb
6 files changed
+111
-15
No files matched your search
@@ -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