🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "filesystem"

Found 17 matching component(s)

  • function sanitize_folders

    Recursively traverses a directory tree and sanitizes folder names by removing non-ASCII characters, renaming folders to ASCII-only versions.

    File: /tf/active/vicechatdev/creation_updater.py

    filesystem directory-management sanitization recursive file-operations
  • function ensure_dir_exists

    Creates a directory and all necessary parent directories if they don't already exist, with logging support.

    File: /tf/active/vicechatdev/msg_to_eml.py

    filesystem directory utility file-operations path-management
  • function load_session_from_disk

    Loads a session from disk storage by reading a JSON file identified by session_id, deserializing the data, and converting timestamp strings back to datetime objects.

    File: /tf/active/vicechatdev/docchat/app.py

    session-management persistence file-io deserialization json
  • function save_custom_instructions

    Flask API endpoint that saves custom instructions to a markdown file in a designated instructions directory with filename sanitization.

    File: /tf/active/vicechatdev/docchat/app.py

    flask api-endpoint file-operations rest-api file-saving
  • function ensure_directories

    Creates required directories for the application if they don't already exist, specifically DOCUMENTS_DIR and CHAT_SESSIONS_DIR.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    filesystem initialization setup directory-creation file-management
  • function save_document_to_file

    Persists a document object to the filesystem as a JSON file, using the document's ID as the filename.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    file-io persistence json serialization document-storage
  • function load_chat_session_from_file

    Loads a chat session from a JSON file stored in the CHAT_SESSIONS_DIR directory using the provided session_id as the filename.

    File: /tf/active/vicechatdev/vice_ai/complex_app.py

    file-io persistence chat session-management json
  • function remove_user_document

    Removes a specific document for a user by deleting the file from the filesystem and removing its metadata from the in-memory storage structure.

    File: /tf/active/vicechatdev/vice_ai/app.py

    document-management file-deletion thread-safe cleanup storage-management
  • function cleanup_old_documents

    Periodically removes documents and their associated files that are older than 2 hours from the uploaded_documents dictionary, cleaning up both file system storage and memory.

    File: /tf/active/vicechatdev/vice_ai/app.py

    cleanup maintenance file-management document-management scheduled-task
  • class DocumentProcessor_v7

    Lightweight document processor for chat upload functionality

    File: /tf/active/vicechatdev/vice_ai/document_processor.py

    class documentprocessor
  • function api_remove_document

    Flask API endpoint that removes an uploaded document from the session and deletes its associated file from the filesystem.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    flask api delete document-management file-cleanup
  • function add_data_section_to_pdf

    Adds a data analysis section to a PDF document story, including analysis metadata, statistical conclusions, and embedded visualizations from saved content or analysis history.

    File: /tf/active/vicechatdev/vice_ai/new_app.py

    pdf-generation reportlab data-analysis document-export visualization
  • function ensure_path_exists

    Recursively creates a directory path in FileCloud storage by ensuring all parent directories exist before creating child directories.

    File: /tf/active/vicechatdev/CDocs/controllers/filecloud_controller.py

    filesystem directory-creation recursive filecloud path-management
  • function sanitize_filename

    Sanitizes a filename string by replacing invalid filesystem characters with underscores and ensuring a valid output.

    File: /tf/active/vicechatdev/CDocs/utils/__init__.py

    filename sanitization validation filesystem string-processing
  • function ensure_dir

    Creates a directory and all necessary parent directories if they don't already exist, returning a boolean indicating success or failure.

    File: /tf/active/vicechatdev/CDocs/utils/__init__.py

    filesystem directory file-operations utility error-handling
  • function admin_cleanup_orphaned

    Flask route handler that cleans up orphaned files and directories from deleted analysis sessions by calling the analysis service's cleanup method and returning detailed results.

    File: /tf/active/vicechatdev/full_smartstat/app.py

    admin cleanup file-management orphaned-files maintenance
  • function get_static_routes

    Generates a list of Tornado URL route patterns for serving static files from specified directories, mapping URL slugs to filesystem paths.

    File: /tf/active/vicechatdev/patches/server.py

    tornado web-server static-files routing url-patterns

Search Examples