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.


krlmlr/styler documentation built on Dec. 12, 2024, 8:36 a.m.