Skip to content

Commit

Permalink
Update documentation of tiledb_vfs_touch.
Browse files Browse the repository at this point in the history
  • Loading branch information
teo-tsirpanis committed Sep 5, 2024
1 parent 84edf2f commit b286a26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tiledb/api/c_api/vfs/vfs_api_external.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,9 @@ TILEDB_EXPORT capi_return_t tiledb_vfs_fh_is_closed(
tiledb_ctx_t* ctx, tiledb_vfs_fh_t* fh, int32_t* is_closed) TILEDB_NOEXCEPT;

/**
* Touches a file, i.e., creates a new empty file.
* Touches a file, i.e., creates a new empty file if it does not already exist.
*
* The access timestamps of the file are not guaranteed to change.
*
* **Example:**
*
Expand Down
3 changes: 2 additions & 1 deletion tiledb/sm/cpp_api/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ class VFS {
ctx.ptr().get(), vfs_.get(), old_uri.c_str(), new_uri.c_str()));
}

/** Touches a file with the input URI, i.e., creates a new empty file. */
/** Touches a file with the input URI, i.e., creates a new empty file if it
* does not already exist. */
void touch(const std::string& uri) const {
auto& ctx = ctx_.get();
ctx.handle_error(
Expand Down

0 comments on commit b286a26

Please sign in to comment.