Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 023badc05a9788e17a62e8be51b5973067f22e6f
      
https://github.com/WebKit/WebKit/commit/023badc05a9788e17a62e8be51b5973067f22e6f
  Author: Adrian Perez de Castro <[email protected]>
  Date:   2022-10-09 (Sun, 09 Oct 2022)

  Changed paths:
    M Source/WTF/wtf/FileSystem.h
    M Source/WTF/wtf/glib/FileSystemGlib.cpp

  Log Message:
  -----------
  [GLib] Implement FileSystem::fileID()
https://bugs.webkit.org/show_bug.cgi?id=246143

Reviewed by Carlos Garcia Campos.

Implement WTF::FileSystem::fileID() in terms of GFileInfo, using the
G_FILE_ATTRIBUTE_ID_FILE. GLib represents this attribute as a string in
order to be able to support the variety of systems it supports, so this
also changes the PlatformFileID type accordingly.

* Source/WTF/wtf/FileSystem.h: Switch to CString as the representation
  of the PlatformFileID type.
* Source/WTF/wtf/glib/FileSystemGlib.cpp:
(WTF::FileSystemImpl::fileID): Implement.
(WTF::FileSystemImpl::fileIDsAreEqual): Implement.

Canonical link: https://commits.webkit.org/255324@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to