Results for “ff-only”
Small, practical examples. Search by task or narrow things down below.
Limit concurrent access with SemaphoreSlim
C#: Release the semaphore in finally so exceptions cannot leave it permanently acquired.
C#✓ Tested
Limit the bytes read from a stream
Limit the bytes read from a stream using a complete Go program with explicit sample inputs.
Go✓ Tested
List all files stored in a commit
Git: ls-tree inspects the committed tree without relying on working files.
Git✓ Tested
List branches already merged into the current branch
Git: The merged filter reports branches whose tips are reachable from HEAD.
Git✓ Tested
List distinct values
Remove duplicate category values from a result.
DISTINCT✓ Tested
List files containing a match
Linux Commands: Use grep -l when only the matching filenames are needed.
Linux Commands✓ Tested
List files in a folder
List the names of regular files in a folder in alphabetical order, excluding subdirectories.
directory✓ Tested
List files tracked by Git
Git: ls-files reads the index instead of listing every file in the working directory.
Git✓ Tested
List ignored untracked files
Git: Combine ignored with others so the result is specifically ignored working files.
Git✓ Tested
List matching files
Enumerate immediate text files and sort their names in C#.
C#✓ Tested
List regular files
List immediate regular files in sorted order and close the Java directory stream.
Java✓ Tested
List release tags matching a pattern
Git: Use a tag pattern and version-aware sorting for release labels.
Git✓ Tested