Skip to content

Commit

Permalink
rename is_exsits
Browse files Browse the repository at this point in the history
ref.: #5199
  • Loading branch information
kassane committed Oct 21, 2024
1 parent 05a9ee7 commit 1a9b85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/d/source/opendal/operator.d
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ struct Operator

bool exists(string path) @trusted
{
auto result = opendal_operator_is_exist(op, path.toStringz);
auto result = opendal_operator_exists(op, path.toStringz);
enforce(result.error is null, "Error checking existence");
return result.is_exist;
return result.exists;
}

Metadata stat(string path) @trusted
Expand Down

0 comments on commit 1a9b85d

Please sign in to comment.