Implement pulse mode progress bar.
[guestfs-browser.git] / filetree_ops.mli
1 (* Guestfs Browser.
2  * Copyright (C) 2010 Red Hat Inc.
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  *)
18
19 (** Operations on a file tree.
20
21     This module contains operations performed by menu items or
22     from the context menu.
23
24     The types and functions in this file should be considered
25     private to the file tree implementation.
26
27     See {!Filetree} for the full description and public interface. *)
28
29 (**/**)
30
31 val checksum_file : Filetree_type.t -> Gtk.tree_path -> string -> unit -> unit
32
33 val copy_regvalue : Filetree_type.t -> Gtk.tree_path -> unit -> unit
34
35 val disk_usage : Filetree_type.t -> Gtk.tree_path -> unit -> unit
36
37 val display_inspection_data : Filetree_type.t -> Gtk.tree_path -> unit -> unit
38
39 val download_as_reg : Filetree_type.t -> Gtk.tree_path -> string -> unit -> unit
40
41 val download_dir_tarball : Filetree_type.t -> Slave_types.download_dir_tarball_format -> Gtk.tree_path -> unit -> unit
42
43 val download_dir_find0 : Filetree_type.t -> Gtk.tree_path -> unit -> unit
44
45 val download_file : Filetree_type.t -> Gtk.tree_path -> unit -> unit
46
47 val file_information : Filetree_type.t -> Gtk.tree_path -> unit -> unit
48
49 val view_file : Filetree_type.t -> Gtk.tree_path -> string -> unit -> unit