(runtime *common.RuntimeContext, outputPath string)
| 122 | } |
| 123 | |
| 124 | func markdownFetchOutputIsDirectory(runtime *common.RuntimeContext, outputPath string) bool { |
| 125 | if strings.HasSuffix(outputPath, "/") || strings.HasSuffix(outputPath, "\\") { |
| 126 | return true |
| 127 | } |
| 128 | info, err := runtime.FileIO().Stat(outputPath) |
| 129 | return err == nil && info.IsDir() |
| 130 | } |
no test coverage detected