move: normalise_paths
This commit is contained in:
parent
8d4d4ceec4
commit
a3d71455d4
1 changed files with 0 additions and 6 deletions
6
vss.v
6
vss.v
|
@ -26,12 +26,6 @@ fn main() {
|
||||||
app.parse(os.args)
|
app.parse(os.args)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn normalise_paths(paths []string) []string {
|
|
||||||
mut res := paths.map(it.replace(os.path_separator, '/'))
|
|
||||||
res.sort()
|
|
||||||
return res
|
|
||||||
}
|
|
||||||
|
|
||||||
fn get_paths(path string) []string {
|
fn get_paths(path string) []string {
|
||||||
mds := os.walk_ext(path, '.md')
|
mds := os.walk_ext(path, '.md')
|
||||||
return mds
|
return mds
|
||||||
|
|
Loading…
Add table
Reference in a new issue