From 53861087d55de45ec6b24f6e452469dfa72c1644 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 13 Feb 2014 02:24:30 -0400 Subject: limiting files based on metadata Note that there is currently no caching, so --metadata foo=bar --metadata tag=blah will currently read the log 2x per file. --- Annex/FileMatcher.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Annex') diff --git a/Annex/FileMatcher.hs b/Annex/FileMatcher.hs index f3f98fde6..750795280 100644 --- a/Annex/FileMatcher.hs +++ b/Annex/FileMatcher.hs @@ -83,6 +83,7 @@ parseToken checkpresent checkpreferreddir groupmap t , ("inbackend", limitInBackend) , ("largerthan", limitSize (>)) , ("smallerthan", limitSize (<)) + , ("metadata", limitMetaData) , ("inallgroup", limitInAllGroup groupmap) ] where -- cgit v1.2.3