public static String getRealPath ( SnapshotPathType stype , String path ) { if ( stype == SnapshotPathType . SNAP_CL ) { return VoltDB . instance ( ) . getCommandLogSnapshotPath ( ) ; } else if ( stype == SnapshotPathType . SNAP_AUTO ) { return VoltDB . instance ( ) . getSnapshotPath ( ) ; } return path ; }
Return path based on type if type is not CL or AUTO return provided path .