Psh/Builtins/Rehash.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
bi_rehash
2.0
BEGIN
2.0
CRAP 2.0
1 package Psh::Builtins::Rehash;
2  
3 require Psh::Util;
4  
5 =item * C<rehash>
6  
7 Empties the path and executable hashes. This might be necessary if
8 executables are renamed/removed/added while you're logged in.
9  
10 =cut
11  
12 sub bi_rehash
13 {
14 %Psh::Util::command_hash=();
15 %Psh::Util::path_hash=();
16 return (1,undef);
17 }
18  
19 1;