summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/Provider/Internal.hs
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09save modification time with sub-second granularityJorge Israel Peña1-4/+3
Some systems can get the file modification time with sub-second granularity. However, Hakyll shaves off the sub-seconds, as defined in the Binary instance of BinaryTime, which poses a problem because when a file is checked to see if it was modified in `resourceModified`, it still contains the sub-seconds. This results in a file (almost) always being considered as having been modified. Example: 1. First go around, modification time is 3:45.325. This time is saved as 3:45.000 (i.e. sub-seconds are shaved off). 2. Second go around, modification time is again read as 3:45.325 and compared against the stored time, 3:45.000. 3:45.325 is more recent than 3:45.000, so the file is considered to have been modified. This change prevents the shaving off of sub-seconds. This will naturally work on systems that don't support sub-second granularity, as that 'field' will simply appear as all zeros. Closes #250
2013-11-18Detect change if metadata file is deletedJasper Van der Jeugt1-1/+3
Closes #191
2013-08-14Fix versions & metadata loading issueJasper Van der Jeugt1-1/+1
Closes #171
2013-04-03Account for absolute paths in `shouldIgnoreFile`Jasper Van der Jeugt1-4/+4
2013-02-10Fix apparent remaining provider rewrite issuesJasper Van der Jeugt1-3/+4
2013-02-09Start provider rewriteJasper Van der Jeugt1-23/+132
2013-02-06Ignore files sooner, small speedupJasper Van der Jeugt1-2/+1
2012-11-19Add tests againJasper Van der Jeugt1-15/+23
2012-11-18Add Item abstractionJasper Van der Jeugt1-0/+86