We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae1441e commit 8654e50Copy full SHA for 8654e50
1 file changed
inspect_temp_jar.py
@@ -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