No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

print-context.R 433B

123456789101112131415161718
  1. #' Printer for gdns contexts
  2. #'
  3. #' @param x gdns context object
  4. #' @param ... unused
  5. #' @keywords internal
  6. #' @export
  7. print.gctx <- function(x, ...) {
  8. if (is_null_xptr_(x)) {
  9. cat("<gdns v", gdns_lib_version(), " resolver context (INVALID)>\n")
  10. } else {
  11. cat(
  12. "<gdns v", gdns_lib_version(),
  13. " resolver context; resolvers: [",
  14. paste0(int_get_resolvers(x), collapse=", "),
  15. "]>\n", sep = ""
  16. )
  17. }
  18. }