Skip to content

Commit

Permalink
Fix #1391
Browse files Browse the repository at this point in the history
  • Loading branch information
wlandau committed Dec 4, 2024
1 parent f872e3a commit 50b8b2e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@ S3method(store_read_path,tar_torch)
S3method(store_read_path,tar_url)
S3method(store_row_path,default)
S3method(store_row_path,tar_external)
S3method(store_row_path,tar_repository_cas)
S3method(store_row_path,tar_repository_cas_file)
S3method(store_sync_file_meta,default)
S3method(store_sync_file_meta,tar_cloud)
S3method(store_sync_file_meta,tar_url)
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Allow branch references to contain multi-element `path` vectors with cloud metadata (#1382, @n8layman).
* Avoid partial matches in internal code (#1384, @olivroy).
* Add error handling around calls to `ps::ps_disk_partitions()` and `ps::ps_fs_mount_point()`.
* Do not store `_targets/objects/` paths in metadata for CAS repositories (#1391).

## Compatibility

Expand Down
5 changes: 5 additions & 0 deletions R/class_store_repository_cas.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ store_class_repository.repository_cas <- function(repository, store, format) {
store_assert_repository_setting.repository_cas <- function(repository) {
}

#' @export
store_row_path.tar_repository_cas <- function(store, file) {
NA_character_
}

#' @export
store_hash_early.tar_repository_cas <- function(store, file) {
}
Expand Down
3 changes: 3 additions & 0 deletions R/class_store_repository_cas_file.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#' @export
store_row_path.tar_repository_cas_file <- store_row_path.tar_external

#' @export
store_hash_early.tar_repository_cas_file <- function(store, file) {
store_hash_early.tar_store_file(store, file)
Expand Down

0 comments on commit 50b8b2e

Please sign in to comment.