Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRepositoryIsIgnored = errors.New("repository is ignored")
)
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// Config used to instantiate this core.
Config *config.Config
StaticDir fs.FS
ScanDir *os.Root
Markdown html.MarkdownRenderer
Plaintext html.PlaintextRenderer
// contains filtered or unexported fields
}
func (*Core) RepositoryName ¶
RepositoryName returns formatted display name of a repository.
func (*Core) RepositoryPath ¶
RepositoryPath finds a repository by name and returns its filepath. name is not supposed to contain slash characters.
Click to show internal directories.
Click to hide internal directories.