交接版本确认
原能力
按岗位说明使用哪一版、何时失效和旧版应如何留档。(细化版 p.12–13)
首选项目
Zou(AGPL-3.0)。 Zou
匹配范围
Task/Asset 元数据和固定对象 ID 可指定版本。
源码
Zou · def create_comment(
zou/app/services/comments_service.py · 92–105 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
def create_comment(
person_id,
task_id,
task_status_id,
text,
checklist=None,
files=None,
created_at="",
links=None,
with_hashtags=True,
for_client=False,
_fired_automations=None,
_automation_depth=0,
):
Git LFS · func DecodePointer(
lfs/pointer.go · 118–131 行。 在 GitHub 查看源码 · 许可证与声明
源码片段
func DecodePointer(reader io.Reader) (*Pointer, error) {
p, _, err := DecodeFrom(reader)
return p, err
}
// DecodeFrom decodes an *lfs.Pointer from the given io.Reader, "reader".
// If the pointer encoded in the reader could successfully be read and decoded,
// it will be returned with a nil error.
//
// If the pointer could not be decoded, an io.Reader containing the entire
// blob's data will be returned, along with a parse error.
func DecodeFrom(reader io.Reader) (*Pointer, io.Reader, error) {
buf := make([]byte, BlobSizeCutoff)
n, err := reader.Read(buf)
实现与验收要点
按岗位交接、失效标记、旧版本留存责任。