(path string)
| 326 | } |
| 327 | |
| 328 | func computeDirPart(path string) string { |
| 329 | path = filepath.Clean(wavebase.ExpandHomeDirSafe(path)) |
| 330 | path = filepath.ToSlash(path) |
| 331 | if path == "/" { |
| 332 | return "/" |
| 333 | } |
| 334 | return filepath.Dir(path) |
| 335 | } |
| 336 | |
| 337 | func (*ServerImpl) fileInfoInternal(path string, extended bool) (*wshrpc.FileInfo, error) { |
| 338 | cleanedPath := filepath.Clean(wavebase.ExpandHomeDirSafe(path)) |
no test coverage detected