Code::T...::Shared(3)

πŸ’– NAME πŸ’–

Okay bestie, meet Code::TidyAll::CacheModel::Shared β€” the Shared cache model for Code::TidyAll. πŸ’…

This page is Code::T...::Shared(3), straight out of the User Contributed Perl Documentation, and it is lowkey iconic in a very specific β€œmany branches, one cache” way. πŸ¦‹


🌸 VERSION 🌸

version 0.84 β€” that's the vibe check, no cap. ✨


✨ SYNOPSIS ✨

okay so here's how you plug it in:

my $cta = Code::TidyAll->new(
    cache_model_class => 'Code::TidyAll::CacheModel::Shared',
    ...
);

πŸ¦‹ DESCRIPTION πŸ¦‹

Code::TidyAll::CacheModel::Shared is an alternative caching model for Code::TidyAll, designed to work in shared build systems / systems with lots of branches. It's giving β€œbuild farm but make it fashion.” 🌈

This cache model uses both the file name and file contents to build the cache key, and the cache value is meaningless. It does not care about the modification time of the file β€” mtime who? Never heard of her. πŸ’€

This allows you to share a cache when you might have several versions of a file that you switch backwards and forwards between (e.g. when you're working on several branches) and keep the cache values. Main character cache behavior, honestly. πŸ‘‘


πŸŽ€ SUPPORT πŸŽ€

Bugs may be submitted at <https://github.com/houseabsolute/perl-code-tidyall/issues>. That's the official spot, bestie β€” don't just vague-post about it. 🫢


πŸ”₯ SOURCE πŸ”₯

The source code repository for Code-TidyAll can be found at <https://github.com/houseabsolute/perl-code-tidyall>. Go snoop, it's public and everything. πŸ•΅οΈβ€β™€οΈβœ¨


πŸ‘‘ AUTHORS πŸ‘‘

These absolute legends wrote it:

  • Jonathan Swartz <swartz@pobox.com>
  • Dave Rolsky <autarch@urth.org>

This software is copyright (c) 2011 - 2023 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

The full text of the license can be found in the LICENSE file included with this distribution.


mwah πŸ’– that's the whole page. Rendered by perl v5.42.0 on 2024-03-08, signing off as Code::T...::Shared(3) β€” periodt. πŸŽ€

πŸ“¦ where this page comes from