Code Monkey home page Code Monkey logo

Comments (3)

likun7981 avatar likun7981 commented on June 18, 2024

之前这样考虑过,但是如果用基准路劲 和 目标路劲,会有一个问题,有硬链缓存这个东西,所以reverse除了标识 源目录和硬链目录,还关系着是否需要处理 硬链缓存

from hlink.

likun7981 avatar likun7981 commented on June 18, 2024

因为硬链目录的基准并不是和源目录一一对应的

相当于是 源目录 - 缓存文件 = 硬链目录,所以 用 源目录为基准目录的时候(正向)则不需要过滤缓存文件,但是用 硬链目录作为基准目录的时候,是需要过滤缓存文件的

from hlink.

likun7981 avatar likun7981 commented on June 18, 2024

后面考虑 使用配置文件来直接渠道命令行 录入配置。这样就不用考虑对应关系了,像下面这样~

// hlink.config.mjs
export default {
	paths: {
		sourcePath1: destPath1,
		sourcePath2: destPath2,
	},
	// 其他配置
}

from hlink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.