"Fossies" - the Fresh Open Source Software Archive

Member "fstransform-0.9.4/fsmove/src/args.cc" (31 Mar 2019, 1294 Bytes) of package /linux/misc/fstransform-0.9.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "args.cc" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 0.9.3_vs_0.9.4.

    1 /*
    2  * fstransform - transform a file-system to another file-system type,
    3  *               preserving its contents and without the need for a backup
    4  *
    5  * Copyright (C) 2011-2012 Massimiliano Ghilardi
    6  *
    7  *     This program is free software: you can redistribute it and/or modify
    8  *     it under the terms of the GNU General Public License as published by
    9  *     the Free Software Foundation, either version 3 of the License, or
   10  *     (at your option) any later version.
   11  *
   12  *     This program is distributed in the hope that it will be useful,
   13  *     but WITHOUT ANY WARRANTY; without even the implied warranty of
   14  *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15  *     GNU General Public License for more details.
   16  *
   17  *     You should have received a copy of the GNU General Public License
   18  *     along with this program.  If not, see <http://www.gnu.org/licenses/>.
   19  *
   20  * args.cc
   21  *
   22  *  Created on: Mar 21, 2011
   23  *      Author: max
   24  */
   25 
   26 #include "first.hh"
   27 
   28 #include "args.hh"    // for fm_args
   29 
   30 FT_NAMESPACE_BEGIN
   31 
   32 
   33 /** default constructor */
   34 fm_args::fm_args()
   35     : program_name("fsmove"),
   36       io_args(), exclude_list(NULL), inode_cache_path(NULL),
   37       io_kind(FC_IO_AUTODETECT), ui_kind(FC_UI_NONE),
   38       force_run(false), simulate_run(false)
   39 { }
   40 
   41 FT_NAMESPACE_END