HasWiki returns true if repository has wiki.
()
| 61 | |
| 62 | // HasWiki returns true if repository has wiki. |
| 63 | func (r *Repository) HasWiki() bool { |
| 64 | return com.IsDir(r.WikiPath()) |
| 65 | } |
| 66 | |
| 67 | // InitWiki initializes a wiki for repository, |
| 68 | // it does nothing when repository already has wiki. |
no test coverage detected