ExtensionPath return path of extension file
(name string)
| 57 | |
| 58 | // ExtensionPath return path of extension file |
| 59 | func ExtensionPath(name string) (string, error) { |
| 60 | if name == "root" { |
| 61 | return filepath.Join(utils.GetExecutableDir(), "Extensions"), nil |
| 62 | } |
| 63 | return utils.GetExtensionPath(name) |
| 64 | } |
| 65 | |
| 66 | // ExtensionAllPath returns paths of all extension files |
| 67 | func ExtensionAllPath() (string, error) { |
no test coverage detected