2011-10-10 21:12:40 +03:00
|
|
|
package Nix::Store;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
|
|
|
require Exporter;
|
|
|
|
|
|
|
|
our @ISA = qw(Exporter);
|
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
|
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
|
|
|
|
2011-11-29 15:01:24 +02:00
|
|
|
our @EXPORT = qw(
|
2015-03-04 17:27:42 +02:00
|
|
|
setVerbosity
|
2011-11-29 15:01:24 +02:00
|
|
|
isValidPath queryReferences queryPathInfo queryDeriver queryPathHash
|
2012-07-18 01:55:39 +03:00
|
|
|
queryPathFromHashPart
|
2014-07-11 17:02:19 +03:00
|
|
|
topoSortPaths computeFSClosure followLinksToStorePath exportPaths importPaths
|
2015-06-03 16:33:17 +03:00
|
|
|
hashPath hashFile hashString convertHash
|
2015-02-04 17:43:32 +02:00
|
|
|
signString checkSignature
|
2011-12-02 14:09:24 +02:00
|
|
|
addToStore makeFixedOutputPath
|
2012-03-19 05:14:21 +02:00
|
|
|
derivationFromPath
|
2015-10-09 13:49:47 +03:00
|
|
|
addTempRoot
|
2020-09-17 11:42:51 +03:00
|
|
|
getBinDir getStoreDir
|
2021-07-30 12:55:14 +03:00
|
|
|
queryRawRealisation
|
2011-11-29 15:01:24 +02:00
|
|
|
);
|
2011-10-10 21:12:40 +03:00
|
|
|
|
|
|
|
our $VERSION = '0.15';
|
|
|
|
|
2012-05-11 02:03:23 +03:00
|
|
|
sub backtick {
|
|
|
|
open(RES, "-|", @_) or die;
|
|
|
|
local $/;
|
|
|
|
my $res = <RES> || "";
|
|
|
|
close RES or die;
|
|
|
|
return $res;
|
|
|
|
}
|
|
|
|
|
2020-09-17 11:42:51 +03:00
|
|
|
require XSLoader;
|
|
|
|
XSLoader::load('Nix::Store', $VERSION);
|
2011-10-10 21:12:40 +03:00
|
|
|
|
|
|
|
1;
|
|
|
|
__END__
|