Skip to content

Commit 8654e50

Browse files
committed
Auto Update
1 parent ae1441e commit 8654e50

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

inspect_temp_jar.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import os
2+
import zipfile
3+
from pathlib import Path
4+
repo = os.environ.get('TEMP')
5+
jar = Path(repo) / 'FastFileIndex-jitpack-m2' / 'com' / 'github' / 'andrestubbe' / 'FastFileIndex' / '0.1.0' / 'FastFileIndex-0.1.0.jar'
6+
print('TEMP repo jar:', jar)
7+
print('exists:', jar.exists())
8+
if jar.exists():
9+
with zipfile.ZipFile(jar) as z:
10+
names = z.namelist()
11+
print('has native/fastfileindex.dll:', 'native/fastfileindex.dll' in names)
12+
print('native entry count:', sum(1 for n in names if n.startswith('native/')))
13+
print('has fastcore classes:', any(n.startswith('fastcore/') for n in names))
14+
print('has fastfileindex classes:', any(n.startswith('fastfileindex/') for n in names))

0 commit comments

Comments
 (0)