envKey returns the environment variable name to set name, key
(name, key string)
| 69 | |
| 70 | // envKey returns the environment variable name to set name, key |
| 71 | func envKey(name, key string) string { |
| 72 | return fmt.Sprintf("RCLONE_CONFIG_%s_%s", strings.ToUpper(name), strings.ToUpper(key)) |
| 73 | } |
| 74 | |
| 75 | // match a line of config var=value |
| 76 | var matchLine = regexp.MustCompile(`^([a-zA-Z_]+)=(.*)$`) |
no outgoing calls
no test coverage detected
searching dependent graphs…