Skip to content

Commit 1a9b85d

Browse files
committed
rename is_exsits
ref.: #5199
1 parent 05a9ee7 commit 1a9b85d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/d/source/opendal/operator.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ struct Operator
9090

9191
bool exists(string path) @trusted
9292
{
93-
auto result = opendal_operator_is_exist(op, path.toStringz);
93+
auto result = opendal_operator_exists(op, path.toStringz);
9494
enforce(result.error is null, "Error checking existence");
95-
return result.is_exist;
95+
return result.exists;
9696
}
9797

9898
Metadata stat(string path) @trusted

0 commit comments

Comments
 (0)