xftp: server store log (#652)

This commit is contained in:
spaced4ndy authored and GitHub committed 2023-02-24 15:21:07 +04:00
1 parent 3ab5e9d110
commit 202922bceb
6 files changed
+111 -15

No files matched your search

+3 -3
View File
@@ -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