Class PythonResource
java.lang.Object
com.oracle.graal.python.resources.PythonResource
- All Implemented Interfaces:
com.oracle.truffle.api.InternalResource
This code needs to be kept in sync somehow with the suite.py code. In particular, the layouts
produced by the unpacking logic in
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.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.truffle.api.InternalResource
com.oracle.truffle.api.InternalResource.CPUArchitecture, com.oracle.truffle.api.InternalResource.Env, com.oracle.truffle.api.InternalResource.Id, com.oracle.truffle.api.InternalResource.OS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidunpackFiles(com.oracle.truffle.api.InternalResource.Env env, Path targetDirectory) versionHash(com.oracle.truffle.api.InternalResource.Env env)
-
Constructor Details
-
PythonResource
public PythonResource()
-
-
Method Details
-
unpackFiles
public void unpackFiles(com.oracle.truffle.api.InternalResource.Env env, Path targetDirectory) throws IOException - Specified by:
unpackFilesin interfacecom.oracle.truffle.api.InternalResource- Throws:
IOException
-
versionHash
- Specified by:
versionHashin interfacecom.oracle.truffle.api.InternalResource
-