Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileModTime ¶
func SortByModTime ¶
SortByModTime 根据文件的 Mod Time 进行排序,递减
Types ¶
type PathSlices ¶
type PathSlices []PathSlice
func SortStringSliceByLength ¶
func SortStringSliceByLength(m []string) PathSlices
SortStringSliceByLength 排序得到匹配上的路径,最长的那个
func (PathSlices) Len ¶
func (a PathSlices) Len() int
func (PathSlices) Less ¶
func (a PathSlices) Less(i, j int) bool
func (PathSlices) Swap ¶
func (a PathSlices) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.