monotone

monotone Mtn Source Tree

Root/update.hh

1#ifndef __UPDATE_HH__
2#define __UPDATE_HH__
3
4// copyright (C) 2002, 2003 graydon hoare <graydon@pobox.com>
5// all rights reserved.
6// licensed to the public under the terms of the GNU GPL (>= 2)
7// see the file COPYING for details
8
9#include <vector>
10#include <string>
11
12#include "app_state.hh"
13#include "manifest.hh"
14#include "vocab.hh"
15
16// this function just encapsulates the (somewhat complex) logic
17// behind picking an update target. the actual updating takes
18// place in commands.cc, along with most other file-modifying
19// actions.
20//
21// if no version is better than base_ident, then this function
22// will set chosen to base_ident.
23
24void pick_update_target(manifest_id const & base_ident,
25app_state & app,
26manifest_id & chosen);
27
28#endif // __UPDATE_HH__

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status