Examples of mtime()


Examples of ch.cern.mig.posix.FileStat.mtime()

                        throw new IOException(String.format(
                                "cannot stat(%s): %s", inElement,
                                e.getMessage()));
                    }
                    if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
                            && stat.mtime() >= oldtemp)
                        continue;
                    if (inElement.getName().endsWith(LOCKED_SUFFIX)
                            && stat.mtime() >= oldlock)
                        continue;
                    warn("removing too old volatile file: " + inElement);
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

                    }
                    if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
                            && stat.mtime() >= oldtemp)
                        continue;
                    if (inElement.getName().endsWith(LOCKED_SUFFIX)
                            && stat.mtime() >= oldlock)
                        continue;
                    warn("removing too old volatile file: " + inElement);
                    try {
                        posix.unlink(inElement.getPath());
                    } catch (LastErrorException e) {
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

                        throw new IOException(String.format(
                                "cannot stat(%s): %s", inElement,
                                e.getMessage()));
                    }
                    if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
                            && stat.mtime() >= oldtemp)
                        continue;
                    if (inElement.getName().endsWith(LOCKED_SUFFIX)
                            && stat.mtime() >= oldlock)
                        continue;
                    warn("removing too old volatile file: " + inElement);
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

                    }
                    if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
                            && stat.mtime() >= oldtemp)
                        continue;
                    if (inElement.getName().endsWith(LOCKED_SUFFIX)
                            && stat.mtime() >= oldlock)
                        continue;
                    warn("removing too old volatile file: " + inElement);
                    try {
                        posix.unlink(inElement.getPath());
                    } catch (LastErrorException e) {
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

            throw new IOException(String.format(
                "cannot stat(%s): %s", inElement,
                e.getMessage()));
          }
          if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
              && stat.mtime() >= oldtemp)
            continue;
          if (inElement.getName().endsWith(LOCKED_SUFFIX)
              && stat.mtime() >= oldlock)
            continue;
          warn("removing too old volatile file: " + inElement);
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

          }
          if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
              && stat.mtime() >= oldtemp)
            continue;
          if (inElement.getName().endsWith(LOCKED_SUFFIX)
              && stat.mtime() >= oldlock)
            continue;
          warn("removing too old volatile file: " + inElement);
          try {
            posix.unlink(inElement.getPath());
          } catch (LastErrorException e) {
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

            throw new QueueException(String.format(
                "cannot stat(%s): %s", inElement,
                e.getMessage()));
          }
          if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
              && stat.mtime() >= oldtemp)
            continue;
          if (inElement.getName().endsWith(LOCKED_SUFFIX)
              && stat.mtime() >= oldlock)
            continue;
          warn("removing too old volatile file: " + inElement);
View Full Code Here

Examples of ch.cern.mig.posix.FileStat.mtime()

          }
          if (inElement.getName().endsWith(TEMPORARY_SUFFIX)
              && stat.mtime() >= oldtemp)
            continue;
          if (inElement.getName().endsWith(LOCKED_SUFFIX)
              && stat.mtime() >= oldlock)
            continue;
          warn("removing too old volatile file: " + inElement);
          try {
            posix.unlink(inElement.getPath());
          } catch (LastErrorException e) {
View Full Code Here

Examples of org.tmatesoft.hg.internal.WorkingDirFileWriter.mtime()

        // check out files based on manifest
        workingDirWriter = new WorkingDirFileWriter(hgRepo);
        workingDirWriter.processFile(df, fileRevIndex, flags);
        lastWrittenFileSize = workingDirWriter.bytesWritten();
        lastFileMode = workingDirWriter.fmode();
        lastFileModificationTime = workingDirWriter.mtime();
        return true;
      } catch (HgIOException ex) {
        failure = ex;
      } catch (HgRuntimeException ex) {
        failure = new HgLibraryFailureException(ex);
View Full Code Here

Examples of org.tmatesoft.hg.internal.WorkingDirFileWriter.mtime()

          final WorkingDirFileWriter fw = new WorkingDirFileWriter(repo);
          fw.processFile(resolveUse);
          if (resolveUse == revB) {
            dirstateBuilder.recordMergedFromP2(file);
          } else {
            dirstateBuilder.recordMerged(file, fw.fmode(), fw.mtime(), fw.bytesWritten());
          }
        } // if resolution is to use revA, nothing to do
      } else if (resolveContent != null) {
        changedDirstate = true;
        // FIXME write content to file using transaction?
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.