On Thu, Aug 21, 2008 at 10:14:45AM -0500, Shawn Walker wrote:

> Do we have a definition of what the package name can be?

Not specifically, that I know of.

>>     application/vim
>
> Oops.  Still, fmri.get_name()  should return just the name portion right?  
> Since we already have fmri.get_pkg_stem()?

get_name() returns the name.  get_pkg_stem() returns the "pkg:/" scheme,
the authority, and the name, unless asked otherwise.

The name is the entire packag name.  In my example above, that's
"application/vim".  "vim" is just a terminal substring of the name (though,
if unique, one that can represent the name on its own; see fmri_match()).

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to