随机“关注"文件夹和“.keep"文件 [英] Random 'concerns' folders and '.keep' files

查看:10
本文介绍了随机“关注"文件夹和“.keep"文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习 Rails.

I am learning rails.

在此过程中的某个地方,我注意到在我的 rails 应用程序目录中出现了看似随机的文件夹和文件.在某些文件夹中,有一个 concerns 文件夹,其中包含一个 .keep 文件..keep 文件似乎是空的.在其他文件夹中没有 concerns 文件夹,但存在一个空的 .keep 文件.

Somewhere along the line, I noticed that seemingly random folders and files are appearing in my rails app's directory. In some folders there is a concerns folder with a .keep file inside it. The .keep file appears to be empty. In other folders there is no concerns folder but an empty .keep file is present.

有谁知道这些文件/文件夹的处理方式是什么?

Does anyone know what the deal with these files/folders is?

推荐答案

.keep 文件是 0 字节文件,用于防止空文件夹被各种进程忽略.没什么好担心的.

.keep files are 0 byte files that are there to stop empty folders from being ignored by all sorts of processes. Nothing to worry about.

这篇关于随机“关注"文件夹和“.keep"文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆