logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Description

purge-hash deletes all elements from <hash> that was created with new-hash. After purge-hash, you can use it without calling new-hash again. Note however, that "average-reads" statistics (see get-hash) is not reset - it keeps being computed and remains for the life of the hash.

Examples

Create a hash, put some data in it and then delete the data: new-hash h write-hash h key "mykey" value "myvalue" purge-hash h See read-hash for more examples.

Name

purge-hash - (hash)

Purpose

Purge a hash.

See Also

Hash get-hashnew-hashpurge-hashread-hashresize-hashwrite-hash See all documentation $DATE $VERSION GOLF(2gg)

Syntax

purge-hash <hash>

See Also