aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/stream.rs')
-rw-r--r--crates/shirabe-php-shim/src/stream.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/crates/shirabe-php-shim/src/stream.rs b/crates/shirabe-php-shim/src/stream.rs
index b699b0ae..6ecf80f5 100644
--- a/crates/shirabe-php-shim/src/stream.rs
+++ b/crates/shirabe-php-shim/src/stream.rs
@@ -13,13 +13,6 @@ pub fn stream_get_contents(stream: &PhpResource) -> Option<String> {
stream_read_remaining(stream, None)
}
-pub fn stream_resolve_include_path(filename: impl AsRef<std::path::Path>) -> Option<String> {
- // TODO(phase-c): resolution searches the `include_path` ini setting, which the shim does not
- // model; checking only the current directory would silently miss configured include paths.
- let _ = filename.as_ref();
- todo!()
-}
-
// Reads from the stream's current position: all remaining bytes, or up to `max_length` when given
// (a negative max means "until end").
fn stream_read_remaining(stream: &PhpResource, max_length: Option<i64>) -> Option<String> {