public final class PythonResource extends Object implements com.oracle.truffle.api.InternalResource
PythonResource.unpackFiles(com.oracle.truffle.api.InternalResource.Env, java.nio.file.Path) should produce the same layout as the
GRAALPYTHON_GRAALVM_SUPPORT distribution in the suite.py.| Constructor and Description |
|---|
PythonResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
unpackFiles(com.oracle.truffle.api.InternalResource.Env env,
Path targetDirectory) |
String |
versionHash(com.oracle.truffle.api.InternalResource.Env env) |
public void unpackFiles(com.oracle.truffle.api.InternalResource.Env env,
Path targetDirectory)
throws IOException
unpackFiles in interface com.oracle.truffle.api.InternalResourceIOExceptionpublic String versionHash(com.oracle.truffle.api.InternalResource.Env env)
versionHash in interface com.oracle.truffle.api.InternalResource