Documentation
Table of Contents

Property Include

Namespace
IntentSharp.Documents
Assembly
IntentSharp.dll

Include

Which files of the working folder are documents, by their id. Null, the default, takes every file. Whatever this says, the store never reads the state folder, files and folders whose name starts with a dot (on every platform, so a .gitignore or a .github folder is never a document), hidden or system files and folders, its own temporary files, folders reached through a link (a symbolic link or a junction), or a file link whose target lies outside the working folder or in the state folder (reported in Problems). A document saved through the store's API is stored whether or not it passes; this only selects the working copies the store reads. The filter runs wherever the store looks for files, including when it notices a change: an exception it throws for a file is logged once and reported in Problems for that file, which the store then does not read, and the other files are read as usual.

public Func<DocumentId, bool>? Include { get; set; }

Property Value

Func<DocumentId, bool>