Currently, an environment is initialized with its name and module path. When we move to using versioned environments, the environment object should also store the version of the env at the time it was created. We are planning to have file-sync put this version in a JSON metadata file in the environment directory (probably the same file as in CODEMGMT-1238). Since environments do not store their own paths, the caller of Environment.create most likely needs to load this and pass it along to the created environment. |