Abspath 文件绝对路径
()
| 25 | |
| 26 | // Abspath 文件绝对路径 |
| 27 | func (file *File) Abspath() string { |
| 28 | if file != nil { |
| 29 | return file.abspath |
| 30 | } |
| 31 | return "" |
| 32 | } |
| 33 | |
| 34 | // Relpath 文件相对路径 |
| 35 | func (file *File) Relpath() string { |
no outgoing calls
no test coverage detected