Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDirstate.java @ 525:0be5be8d57e9
Repository checkout support, first iteration
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 11 Jan 2013 18:12:39 +0100 |
parents | d2f6ab541330 |
children | 2f9ed6bcefa2 |
comparison
equal
deleted
inserted
replaced
524:57b2c9eb3c69 | 525:0be5be8d57e9 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2010-2012 TMate Software Ltd | 2 * Copyright (c) 2010-2013 TMate Software Ltd |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or modify | 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 | 5 * it under the terms of the GNU General Public License as published by |
6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
7 * | 7 * |
323 private final int mode, size, time; | 323 private final int mode, size, time; |
324 // Dirstate keeps local file size (i.e. that with any filters already applied). | 324 // Dirstate keeps local file size (i.e. that with any filters already applied). |
325 // Thus, can't compare directly to HgDataFile.length() | 325 // Thus, can't compare directly to HgDataFile.length() |
326 private final Path name1, name2; | 326 private final Path name1, name2; |
327 | 327 |
328 /*package-local*/ Record(int fmode, int fsize, int ftime, Path name1, Path name2) { | 328 public Record(int fmode, int fsize, int ftime, Path name1, Path name2) { |
329 mode = fmode; | 329 mode = fmode; |
330 size = fsize; | 330 size = fsize; |
331 time = ftime; | 331 time = ftime; |
332 this.name1 = name1; | 332 this.name1 = name1; |
333 this.name2 = name2; | 333 this.name2 = name2; |