1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-19 04:47:54 +02:00
rclone/lib/encoder/standard.go
2019-09-30 14:05:49 +01:00

16 lines
345 B
Go

// +build !noencode
package encoder
// Standard defines the encoding that is used for paths in- and output by rclone.
//
// List of replaced characters:
// (0x00) -> '␀' // SYMBOL FOR NULL
// / (slash) -> '/' // FULLWIDTH SOLIDUS
const Standard = MultiEncoder(
EncodeZero |
EncodeSlash |
EncodeCtl |
EncodeDel |
EncodeDot)