From 3738c19961eff52e36c580f77e5d1f02497c3c90 Mon Sep 17 00:00:00 2001 From: "Diogo Franco (Kovensky)" Date: Tue, 16 Jul 2013 18:29:40 -0300 Subject: [PATCH] Document the directory name behaviour on Windows --- cachekey.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cachekey.go b/cachekey.go index 3c489ca..7d059da 100755 --- a/cachekey.go +++ b/cachekey.go @@ -16,6 +16,10 @@ import ( // On a list of CacheKeys, the last component is taken to represent a file // and all the other components represent the intermediary directories. // This means that it's not possible to have subkeys of an existing file key. +// +// NOTE: when running on Windows, directories that start with a '.' get the +// '.' replaced by a '_'. This is because regular Windows tools can't deal +// with directories starting with a dot. type CacheKey interface{} // All "bad characters" that can't go in Windows paths. -- 2.44.0