Group
Extension

Matches 1

CPANSec-Admin ( G/GA/GARU/CPANSec-Admin-0.001.tar.gz, GARU, 2023; MetaCPAN )
CPANSec-Admin/lib/CPANSEC/Admin/Command/Publish.pm ( view source; MetaCPAN )
s
    experimental::builtin
);

use Time::Piece;
use Path::Tiny ();
use CPANSEC::Admin::Util;
use JSON ();
use List::Util ();

class CPANSEC::Admin::Command::Publish {
    field %options;
    my $curr
:path($options{published_dir}, $osv->{id} . '.json');
        die "$target already exists!" if $target->exists;
        $target->spew_raw(JSON::encode_json($osv));
        $file->remove;
        $curr
::Tiny::path($published_dir)->children(qr/\ACPANSEC\-\d+\-\d+\.json\z/);
        my ($year, $id) = $file =~ /\ACPANSEC\-(\d+)\-(\d+)\.json\z/;
        $id = 0 if $year < $time->year;
        return $i

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.