³ò
@	Hc           @   st   d  d k  l Z d  d k l Z d  d k l Z d d „ Z e d j o' e ƒ  Z x e D] Z	 d e	 GHqY Wn d S(	   iÿÿÿÿ(   t   create_checksum(   t   diskwalk(   t   getsizes   /tmpc         C   sy   g  } h  } t  |  ƒ } | i ƒ  } xN | D]F } t | ƒ t | ƒ f } | | j o | i | ƒ q+ | | | <q+ W| S(   N(   R   t   enumeratePathsR   R    t   append(   t   patht   dupt   recordt   dt   filest   filet   compound_key(    (    s>   /Users/ngift/Documents/writing/current/data/code/find_dupes.pyt	   findDupes   s     t   __main__s   Duplicate: %sN(
   t   checksumR    t   diskwalk_apiR   t   os.pathR   R   t   __name__t   dupesR   (    (    (    s>   /Users/ngift/Documents/writing/current/data/code/find_dupes.pys   <module>   s   	 
