mirror of
https://github.com/openai/codex.git
synced 2026-10-24 18:18:41 +00:00
codex: address PR review feedback (#27819)
This commit is contained in:
committed by
Adam Perry @ OpenAI
parent
c66111002d
commit
19ed2d0e89
@@ -79,8 +79,8 @@ pub struct EnvironmentInfo {
|
||||
impl EnvironmentInfo {
|
||||
/// Renders a path using this environment's native path syntax.
|
||||
///
|
||||
/// TODO(anp): Once `PathUri` carries an environment identifier, resolve the
|
||||
/// environment from that identifier and verify it matches this metadata.
|
||||
/// TODO(anp): Once `PathUri` carries an environment identifier, invert this
|
||||
/// relationship and use the URI to resolve the environment information.
|
||||
pub fn render_path(&self, path: &PathUri) -> Result<NativePathString, NativePathStringError> {
|
||||
NativePathString::from_path_uri(path, self.path_convention)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user