hash_standardize: Standardize text for hashing

View source: R/utils-cache.R

hash_standardizeR Documentation

Standardize text for hashing

Description

Make sure text after styling results in the same hash as text before styling if it is indeed identical. This function expects trailing blank lines in text were removed prior to passing it to this function.

Usage

hash_standardize(text)

Arguments

text

A character vector.


styler documentation built on Aug. 29, 2023, 5:10 p.m.