SHTK_CVS_FETCH(3)

πŸ“¦ version 1.7, in nixos 26.05, nixpkgs unstable

πŸ’– SHTK_CVS_FETCH(3) β€” Library Functions Manual πŸ’–

okay bestie, welcome to the shtk_cvs_fetch(3) manual page! It's giving β€œgroup-chat explainer for a CVS helper,” and no cap it's useful. shtk_cvs_fetch is the main character here, and this page is its vibe check. 🫢

🌸 NAME 🌸

shtk_cvs_fetch β€” checks out or updates a CVS working copy.

πŸŽ€ LIBRARY πŸŽ€

shtk_import cvs

✨ SYNOPSIS ✨

shtk_cvs_fetch cvsroot module tag directory

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so shtk_cvs_fetch is a simple wrapper over the lower-level shtk_cvs_checkout(3) and shtk_cvs_update(3) functions. It picks one or the other depending on the status of the local working copy β€” lowkey smart.

More specifically: if directory does not yet exist or it is empty, then shtk_cvs_fetch checks out a new working copy of the repository cvsroot into it using the given module and tag. Slay. If directory does exist and contains a CVS control directory, then shtk_cvs_fetch performs a working copy update of the repository using the given tag. Iconic behavior.

The CVS tag provided in tag can be empty, in which case the working copy is checked out from HEAD. 🫢

🌈 EXAMPLES 🌈

Here's the moment:

             shtk_cvs_fetch :ext:anoncvs@anoncvs.NetBSD.org:/cvsroot \
                 src netbsd-7 /usr/src

That's the whole example, and yes it ate. πŸ”₯

πŸ‘€ SEE ALSO πŸ‘€

shtk(3), shtk_cvs(3)

πŸ’œ HISTORY πŸ’œ

shtk_cvs_fetch first appeared in shtk 1.0. Periodt.


πŸ’– Debian Β· November 7, 2014 Β· SHTK_CVS_FETCH(3) πŸ’–

πŸ“¦ where this page comes from