1. 20 Aug, 2015 1 commit
    • Debarshi Ray's avatar
      fileinfo: Add a G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE attribute · fa0f51dd
      Debarshi Ray authored
      This is meant for opaque, non-POSIX-like backends to indicate that the
      URI is not persistent. Applications should look at
      Examples of such backends could be a portal for letting sandboxed
      applications access the file-system, or a database-backed storage like
      Google Drive.
      In these cases, the user visible file and folder names are different
      from the real identifiers, used by the backend. So, a request to
      create google-drive://user@gmail.com/foo/New\ File, would actually
      lead to google-drive://user@gmail.com/foo/bar on the server even though
      the user visible name is still "New File". Since the server-defined URI
      is persistent and sanity-checked by the backend, it is recommended that
      applications switch to it as soon as possible. Backends will try to
      keep a mapping from "fake" to "real" URIs, but those are only on a
      best effort basis. They might not be persistent or have the same
      guarantees as the "real" URIs.
  2. 31 Jan, 2014 1 commit
  3. 23 Oct, 2013 1 commit
    • Allison Karlitskaya's avatar
      file-info: Add a G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID attribute · fe706974
      Allison Karlitskaya authored
      This indicates whether the thumbnail (given by G_FILE_ATTRIBUTE_THUMBNAIL_PATH)
      is valid — i.e. to represent the file in its current state. If
      G_FILE_ATTRIBUTE_THUMBNAIL_IS_VALID is FALSE (for a normal _or_ failed
      thumbnail) it means the file has changed since the thumbnail was generated, and
      the thumbnail is out of date.
      Part of checking thumbnail validity (by the spec) involves parsing
      headers out of the thumbnail .png so we include some (small) code to do
      that in a separate file.  We will likely want to copy this code to gvfs
      to do the same for GVfsFile.
      Heavily based on a patch from Philip Withnall <philip.withnall@collabora.co.uk>
      who suggested the feature and designed the API.
  4. 30 Aug, 2012 1 commit
  5. 08 Mar, 2010 1 commit
  6. 06 Jul, 2009 1 commit
  7. 29 Jun, 2009 3 commits