()
| 119 | } |
| 120 | |
| 121 | func (p remotePath) StripSlashes() remotePath { |
| 122 | return newRemotePath(stripLeadingSlash(p.file)) |
| 123 | } |
| 124 | |
| 125 | // strips trailing slash (if any) both unix and windows style |
| 126 | func stripTrailingSlash(file string) string { |
nothing calls this directly
no test coverage detected