예제 #1
0
 .Select(filePath => (GetRelativePath(directoryPath, filePath), (IImmutableList <byte>)File.ReadAllBytes(filePath).ToImmutableList()))
예제 #2
0
 .Select(filePath => (absolutePath: filePath, relativePath: GetRelativePath(directoryPath, filePath)))
 .Where(filePath => filterByRelativeName(filePath.relativePath))
예제 #3
0
 /// <inheritdoc />
 public override void TrackDirectory(string directoryPath, IReadOnlyList <(string, FileAttributes)> members) => TrackDirectoryInternal(directoryPath, members);
예제 #4
0
 GetFilesFromDirectory(
     directoryPath: directoryPath,
     filterByRelativeName: _ => true);