mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 01:44:41 +01:00
lib/encoder: remove noencode tag and update CONTRIBUTING
This commit is contained in:
parent
5697caf20b
commit
5403e1c79a
@ -337,10 +337,9 @@ Getting going
|
||||
* Add your remote to the imports in `backend/all/all.go`
|
||||
* HTTP based remotes are easiest to maintain if they use rclone's rest module, but if there is a really good go SDK then use that instead.
|
||||
* Try to implement as many optional methods as possible as it makes the remote more usable.
|
||||
* Use fs/encoder to make sure we can encode any path name and `rclone info` to help determine the encodings needed
|
||||
* `go install -tags noencode`
|
||||
* Use lib/encoder to make sure we can encode any path name and `rclone info` to help determine the encodings needed
|
||||
* `rclone purge -v TestRemote:rclone-info`
|
||||
* `rclone info -vv --write-json remote.json TestRemote:rclone-info`
|
||||
* `rclone info --remote-encoding None -vv --write-json remote.json TestRemote:rclone-info`
|
||||
* `go run cmd/info/internal/build_csv/main.go -o remote.csv remote.json`
|
||||
* open `remote.csv` in a spreadsheet and examine
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
// +build !noencode
|
||||
|
||||
package encoder
|
||||
|
||||
// Standard defines the encoding that is used for paths in- and output by rclone.
|
||||
|
@ -1,9 +0,0 @@
|
||||
// +build noencode
|
||||
|
||||
package encoder
|
||||
|
||||
// Fake encodings used for testing
|
||||
const (
|
||||
EncodeStandard = EncodeZero | EncodeSlash | EncodeDot
|
||||
Standard = MultiEncoder(EncodeStandard)
|
||||
)
|
Loading…
Reference in New Issue
Block a user