From c879511377bdb76615b58b212f030e82fb88d3be Mon Sep 17 00:00:00 2001 From: Pacien Date: Mon, 1 Jul 2013 12:42:28 +0200 Subject: Replace file manipulation functions by the fcmd package --- context.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'context.go') diff --git a/context.go b/context.go index 8b41a52..aff6a5d 100644 --- a/context.go +++ b/context.go @@ -20,6 +20,7 @@ package main import ( + "github.com/Pacien/fcmd" "path" "strings" ) @@ -48,7 +49,7 @@ func (c context) Title() string { } func (c context) SubPages() (subPages []page) { - dirs, _ := ls(c.path) + dirs, _ := fcmd.Ls(c.path) for _, dir := range dirs { var page page page.Title = dir -- cgit v1.2.3