feat: upload images to tasks (#500)
* upload images to tasks * dislpay image path as markdown; remove redundant code; add cleanup * support svg * remove unused * copy images into worktree directories * shared * address review * fmt
This commit is contained in:
committed by
GitHub
parent
8120f94633
commit
d55b7165f2
@@ -1,5 +1,8 @@
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
/// Directory name for storing images in worktrees
|
||||
pub const VIBE_IMAGES_DIR: &str = ".vibe-images";
|
||||
|
||||
/// Convert absolute paths to relative paths based on worktree path
|
||||
/// This is a robust implementation that handles symlinks and edge cases
|
||||
pub fn make_path_relative(path: &str, worktree_path: &str) -> String {
|
||||
|
||||
Reference in New Issue
Block a user