(path string)
| 71 | } |
| 72 | |
| 73 | func is_dir(path string) bool { |
| 74 | fi, err := os.Stat(path) |
| 75 | return err == nil && fi.IsDir() |
| 76 | } |
| 77 | |
| 78 | func char_to_byte_offset(s []byte, offset_c int) (offset_b int) { |
| 79 | for offset_b = 0; offset_c > 0 && offset_b < len(s); offset_b++ { |
no outgoing calls
no test coverage detected