RepoPilot

haiwen / seafile

Search haiwen/seafile

GitHub

Code

How haiwen/seafile is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Likely public API
  3. Suggested starting pointAI
  4. Suggested starting pointAI
  5. Suggested starting pointAI
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a New Repository Operation

  • Define operation type and parameters in the RPC signature file
  • Implement core logic in the repository manager
  • Add RPC marshaling wrapper to expose to clients
  • Register operation in the daemon task scheduler if async

Add File Sync Change Detection

  • Define new event types in file system monitor
  • Implement event handler in the change processor
  • Update change-set aggregation logic
  • Add to index tracking if new metadata is needed

Add Network Protocol Feature

  • Add request type constants in network header
  • Implement HTTP client logic in network layer
  • Define RPC wrapper if exposing to daemon
  • Update block backend if involves data transfer

Optimize Block Transfer Performance

  • Analyze chunking behavior and adjust CDC parameters if needed
  • Profile block manager cache hit rates
  • Add metrics logging to network transport
  • Benchmark with integration test suite

Change the public API

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points291 per file on average
  • Code issues0 errors, 100 warnings
  • Largest file8,879 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CITravis CI
  • Tests15 test filesPytest · 0.13 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: tests/sync-auto-test · tests/sync-auto-test/test_cases · tests/sync-auto-test/cli1

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.