Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatFromPath ¶
Types ¶
type ContentProfile ¶
type ContentProfile struct {
LikelyText bool
UTF8Valid bool
HasNonASCII bool
HasCyrillic bool
HasCJK bool
HasReplacement bool
DominantScripts []Script
SampleBytes int
}
func ProfilePath ¶
func ProfilePath(path string) (ContentProfile, error)
func ProfilePathWithFormat ¶
func ProfilePathWithFormat(path, format string) (ContentProfile, error)
func ProfileReader ¶
func ProfileReader(format string, r io.Reader) (ContentProfile, error)
func ProfileReaderLimit ¶
Click to show internal directories.
Click to hide internal directories.