perkeep/pkg/client
Brian Gitonga Marete d373f86d9f pkg/client: Fix ignored files matching.
Because of Go's rules regaring closures (function literals) and bound
variables, in the case in which there were multiple patterns in the
ignoredFiles configuration variable, the entire slice (vector) of
registered matching functions was being called with the
last-configured ignoredFiles pattern as the first variable. This meant
that ignoredFiles did not work if it contained more than one pattern
and in certain circumstances, such a configuration would lead to a
crash.

Change-Id: I0b991aa74d079d4ce27fc0ba373e2ee2cf9eb772
2014-03-04 17:30:50 +03:00
..
android Add android camput pre-exit hook. 2014-01-30 17:29:28 +01:00
client.go camtool sync: warn when src and dest have different identities 2014-03-01 23:47:49 +01:00
config.go pkg/client: Fix ignored files matching. 2014-03-04 17:30:50 +03:00
config_test.go pkg/client: fix method to find a server in the config 2014-01-07 18:52:48 -08:00
enumerate.go client: better enumerate docs 2014-03-01 11:48:20 -08:00
get.go Fix build on 32-bit platforms (e.g. Android) 2014-02-08 16:43:21 -08:00
ignored_test.go client: don't call osutil.HomeDir during test. 2014-02-23 09:34:16 -08:00
remove.go client: add NewStorageClient 2014-02-07 10:59:23 -08:00
stat_test.go httputil: add DecodeJSON and CloseBody helpers, then use them everywhere 2014-01-28 22:00:52 -08:00
stats.go client: move stats stuff to stats.go 2012-11-07 21:11:12 -06:00
sync.go sync: use blob.Ref.Less instead of stringify to compare, fix API wart, more tests 2014-03-01 11:34:57 -08:00
sync_test.go sync: use blob.Ref.Less instead of stringify to compare, fix API wart, more tests 2014-03-01 11:34:57 -08:00
upload.go Use 'uint32' instead of 'int64' for blob sizes everywhere. 2014-02-08 17:58:12 +01:00