MCPcopy Create free account
hub / github.com/CSAILVision/gandissect / hashdir

Function hashdir

netdissect/tool/allunitsample.py:161–164  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

159 os.path.join(dirname, '+lightbox.html'))
160
161def hashdir(index):
162 # To keep the number of files the shared directory lower, split it
163 # into 100 subdirectories named as follows.
164 return '%02d' % (index % 100)
165
166class SaveImageWorker(WorkerBase):
167 # Saving images can be sped up by sending jpeg encoding and

Callers 1

save_chosen_unit_imagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected