Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 860
    • Issues 860
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 42
    • Merge requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Issues
  • #1247
Closed
Open
Issue created Mar 07, 2017 by Bugzilla@bugzilla-migration💬Reporter

.hidden file: RFE to handle patterns and documentation

Submitted by gar..@..il.com

Link to original bug (#779711)

Description

GIO has a feature where it looks for .hidden files and skips files listed therein.

  • As best I can tell, it's not documented. I had to read through several undocumented functions to figure out how this feature works.

  • I was looking for a solution to the following problem. Mercurial creates a lot of temporary files named hg-checkexec-* where the * part is a random sequence of characters. Icons for these files appear in nautilus and stick around long after the temporary files have been deleted. I have to manually refresh the view to get rid of them. I was hoping to find a way to tell nautilus to ignore them, and I stumbled across this gio feature. However, it won't solve my problem unless the .hidden file can include some kind of pattern matching (glob or regex). That would involve switching the implementation from a hash table to some other data structure.

(I don't know for sure, but I think mercurial creates all these files because it's cross platform and there may be features of file systems that can only be detected this way.)

Assignee
Assign to
Time tracking