mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-05 02:29:54 +00:00
Fix comments in static/static.go
This commit is contained in:
parent
190a1d6ba8
commit
9b610595bd
@ -34,7 +34,8 @@ func (f HybridFS) Open(name string) (fs.File, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// InitFS initializes the global HybridFS singleton with the local wiki.
|
// InitFS initializes the global HybridFS singleton with the wiki's own static
|
||||||
|
// files directory as a primary filesystem and the embedded one as a fallback.
|
||||||
func InitFS(localPath string) {
|
func InitFS(localPath string) {
|
||||||
FS = HybridFS{
|
FS = HybridFS{
|
||||||
fs: []fs.FS{
|
fs: []fs.FS{
|
||||||
|
Loading…
Reference in New Issue
Block a user