managedFilePath returns the absolute path of the managed file for name.
(name string)
| 31 | |
| 32 | // managedFilePath returns the absolute path of the managed file for name. |
| 33 | func managedFilePath(name string) string { |
| 34 | return filepath.Join(managedDir(), safeName(name)+".md") |
| 35 | } |
| 36 | |
| 37 | // isUnderManagedDir reports whether path resolves inside the managed dir. |
| 38 | func isUnderManagedDir(path string) bool { |