CSS scanner works

Former-commit-id: 4ca1e17778
This commit is contained in:
Jarred Sumner
2021-06-17 11:14:20 -07:00
parent e1677bb774
commit 9ca283bb43
21 changed files with 2101 additions and 3058 deletions

View File

@@ -457,15 +457,7 @@ pub const Cli = struct {
// try f.moveTo(result.outbase, constStrToU8(rel_path), root_dir.fd);
},
.copy => |value| {
const rel_path_base = resolve_path.relativeToCommonPath(
from_path,
from_path,
f.input.text,
filepath_buf[2..],
comptime resolve_path.Platform.auto.separator(),
false,
);
rel_path = filepath_buf[0 .. rel_path_base.len + 2];
rel_path = value.pathname;
try f.copyTo(result.outbase, constStrToU8(rel_path), root_dir.fd);
},