This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const readGitignoreFile = async (directoryHandle) => { | |
try { | |
const fileHandle = await directoryHandle.getFileHandle('.gitignore'); | |
const file = await fileHandle.getFile(); | |
const content = await file.text(); | |
return content.split('\n') | |
.map(line => line.trim()) | |
.filter(line => line && !line.startsWith('#')); | |
} catch (error) { | |
return []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
title: Vector Stores and Text Management API | |
version: '1.0.0' | |
host: 'your-api.com' | |
schemes: | |
- https | |
basePath: /api/v1 | |
produces: | |
- application/json |