Documentation
¶
Overview ¶
Package fs provides functions for filesystem operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // MarkdownOnly is a filter that only lets pass Markdown files. MarkdownOnly = func(file string) bool { return filepath.Ext(file) == ".md" } // NoUnderscores is a predefined filter that doesn't let pass // files starting with an underscore. NoUnderscores = func(file string) bool { filename := filepath.Base(file) return !strings.HasPrefix(filename, "_") } // ErrStreaming is returned from StreamFiles. ErrStreaming error = nil )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.