Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue698 #705

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions src/filesystem/implementation.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
var Path = require('../path.js');
const Path = require('../path.js');
var normalize = Path.normalize;
var dirname = Path.dirname;
var basename = Path.basename;
var isAbsolutePath = Path.isAbsolute;
var shared = require('../shared.js');

var Constants = require('../constants.js');
var NODE_TYPE_FILE = Constants.NODE_TYPE_FILE;
var NODE_TYPE_DIRECTORY = Constants.NODE_TYPE_DIRECTORY;
var NODE_TYPE_SYMBOLIC_LINK = Constants.NODE_TYPE_SYMBOLIC_LINK;
var NODE_TYPE_META = Constants.NODE_TYPE_META;
const Constants = require('../constants.js');
const NODE_TYPE_FILE = Constants.NODE_TYPE_FILE;
const NODE_TYPE_DIRECTORY = Constants.NODE_TYPE_DIRECTORY;
const NODE_TYPE_SYMBOLIC_LINK = Constants.NODE_TYPE_SYMBOLIC_LINK;
const NODE_TYPE_META = Constants.NODE_TYPE_META;

var FULL_READ_WRITE_EXEC_PERMISSIONS = Constants.FULL_READ_WRITE_EXEC_PERMISSIONS;
const FULL_READ_WRITE_EXEC_PERMISSIONS = Constants.FULL_READ_WRITE_EXEC_PERMISSIONS;

var ROOT_DIRECTORY_NAME = Constants.ROOT_DIRECTORY_NAME;
var SUPER_NODE_ID = Constants.SUPER_NODE_ID;
var SYMLOOP_MAX = Constants.SYMLOOP_MAX;
const ROOT_DIRECTORY_NAME = Constants.ROOT_DIRECTORY_NAME;
const SUPER_NODE_ID = Constants.SUPER_NODE_ID;
const SYMLOOP_MAX = Constants.SYMLOOP_MAX;

var O_READ = Constants.O_READ;
var O_WRITE = Constants.O_WRITE;
var O_CREATE = Constants.O_CREATE;
var O_EXCLUSIVE = Constants.O_EXCLUSIVE;
var O_APPEND = Constants.O_APPEND;
var O_FLAGS = Constants.O_FLAGS;
const O_READ = Constants.O_READ;
const O_WRITE = Constants.O_WRITE;
const O_CREATE = Constants.O_CREATE;
const O_EXCLUSIVE = Constants.O_EXCLUSIVE;
const O_APPEND = Constants.O_APPEND;
const O_FLAGS = Constants.O_FLAGS;

var XATTR_CREATE = Constants.XATTR_CREATE;
var XATTR_REPLACE = Constants.XATTR_REPLACE;
var FS_NOMTIME = Constants.FS_NOMTIME;
var FS_NOCTIME = Constants.FS_NOCTIME;
const XATTR_CREATE = Constants.XATTR_CREATE;
const XATTR_REPLACE = Constants.XATTR_REPLACE;
const FS_NOMTIME = Constants.FS_NOMTIME;
const FS_NOCTIME = Constants.FS_NOCTIME;

var Errors = require('../errors.js');
var DirectoryEntry = require('../directory-entry.js');
const Errors = require('../errors.js');
const DirectoryEntry = require('../directory-entry.js');
var openFiles = require('../open-files.js');
var OpenFileDescription = require('../open-file-description.js');
var SuperNode = require('../super-node.js');
var Node = require('../node.js');
var Stats = require('../stats.js');
const SuperNode = require('../super-node.js');
const Node = require('../node.js');
const Stats = require('../stats.js');

/**
* Update node times. Only passed times are modified (undefined times are ignored)
Expand Down