1. 15 Oct, 2008 17 commits
  2. 14 Oct, 2008 21 commits
  3. 13 Oct, 2008 2 commits
    • Max Kellermann's avatar
      song: stat file in song_file_update(), don't use isMusic() · f71ac4d4
      Max Kellermann authored
      isMusic() used to be a very inefficient function: with every
      invocation, it did another stat() on the specified file.  There is
      only one caller, do the stat() there manually and use hasMusicSuffix()
      instead of isMusic().
      f71ac4d4
    • Max Kellermann's avatar
      update: always look up parent directory in updatePath() · 94a5a5a9
      Max Kellermann authored
      By always creating the parent directory, we can use delete_name_in()
      without further lookups.  The parents which may non exist will be
      pruned later.  An update request for a non-existing or empty directory
      should be quite unusual, so this doesn't add any measurable overhead.
      94a5a5a9