/[jsFind]/trunk/jsFind.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/jsFind.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Tue Jul 20 17:47:30 2004 UTC revision 7 by dpavlin, Wed Jul 21 15:34:03 2004 UTC
# Line 91  Search, insert, append or replace data i Line 91  Search, insert, append or replace data i
91          Data => { "path" => {          Data => { "path" => {
92                          "t" => "title of document",                          "t" => "title of document",
93                          "f" => 99,                          "f" => 99,
94                            },
95                  },                  },
96          Insert => 1,          Insert => 1,
97          Append => 1,          Append => 1,
# Line 312  sub to_jsfind { Line 313  sub to_jsfind {
313          my $path = shift || confess "to_jsfind need path to your index!";          my $path = shift || confess "to_jsfind need path to your index!";
314    
315          $path .= "/" if ($path =~ /\/$/);          $path .= "/" if ($path =~ /\/$/);
316          carp "can't create index in '$path': $!" if (! -w $path);          carp "create directory for index '$path': $!" if (! -w $path);
317    
318          return $self->root->to_jsfind($path,"0");          return $self->root->to_jsfind($path,"0");
319  }  }

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26