private bool TryAddFile()

in src/PSDocs.Azure/Pipeline/PathBuilder.cs [73:84]


        private bool TryAddFile(string path)
        {
            if (path.IndexOfAny(PathLiteralStopCharacters) > -1)
                return false;

            var rootedPath = GetRootedPath(path);
            if (!File.Exists(rootedPath))
                return false;

            AddFile(rootedPath);
            return true;
        }