fix update dir ttl bug, add some test case
gofmt
Merge pull request #8 from evan-gu/fileSystem

add testcase, fix update dir ttl bug